21 lines
573 B
C++
21 lines
573 B
C++
// Copyright 2020-2024 CesiumGS, Inc. and Contributors
|
|
|
|
#include "CesiumGltfLinesComponent.h"
|
|
#include "CesiumGltfLinesSceneProxy.h"
|
|
#include "SceneInterface.h"
|
|
|
|
// Sets default values for this component's properties
|
|
UCesiumGltfLinesComponent::UCesiumGltfLinesComponent() {}
|
|
|
|
UCesiumGltfLinesComponent::~UCesiumGltfLinesComponent() {}
|
|
|
|
FPrimitiveSceneProxy* UCesiumGltfLinesComponent::CreateSceneProxy() {
|
|
if (!IsValid(this)) {
|
|
return nullptr;
|
|
}
|
|
|
|
return new FCesiumGltfLinesSceneProxy(
|
|
this,
|
|
FSceneInterfaceWrapper(GetScene()));
|
|
}
|