6#include "CoreMinimal.h"
7#include "CesiumOriginShiftComponent.generated.h"
63UCLASS(ClassGroup =
"Cesium",
Meta = (BlueprintSpawnableComponent))
68#pragma region Properties
77 BlueprintGetter = GetMode,
78 BlueprintSetter = SetMode,
80 Meta = (AllowPrivateAccess))
95 BlueprintGetter = GetDistance,
96 BlueprintSetter = SetDistance,
98 Meta = (AllowPrivateAccess))
99 double Distance = 0.0;
102#pragma region Property Accessors
108 UFUNCTION(BlueprintGetter)
115 UFUNCTION(BlueprintSetter)
127 UFUNCTION(BlueprintGetter)
128 double GetDistance() const;
139 UFUNCTION(BlueprintSetter)
140 void SetDistance(
double NewDistance);
150 FActorComponentTickFunction* ThisTickFunction)
override;
ECesiumOriginShiftMode
Indicates how to shift the origin as the Actor to which a CesiumOriginShiftComponent is attached move...
@ SwitchSubLevelsOnly
The origin of the CesiumGeoreference will be changed when the Actor enters a new sub-level,...
@ ChangeCesiumGeoreference
The origin of the CesiumGeoreference will change as the Actor moves in order to maintain small,...
@ Disabled
This component is disabled and will have no effect.
This component can be added to a movable actor to anchor it to the globe and maintain precise placeme...
Automatically shifts the origin of the Unreal world coordinate system as the object to which this com...
UCesiumOriginShiftComponent()
virtual void TickComponent(float DeltaTime, ELevelTick TickType, FActorComponentTickFunction *ThisTickFunction) override