6#include "CoreMinimal.h"
7#include "CesiumOriginShiftComponent.generated.h"
63UCLASS(ClassGroup =
"Cesium", Meta = (BlueprintSpawnableComponent))
68#pragma region Properties
80 Meta = (AllowPrivateAccess))
98 Meta = (AllowPrivateAccess))
99 double Distance = 0.0;
102#pragma region Property Accessors
108 UFUNCTION(BlueprintGetter)
115 UFUNCTION(BlueprintSetter)
127 UFUNCTION(BlueprintGetter)
139 UFUNCTION(BlueprintSetter)
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...
UCesiumOriginShiftComponent()
virtual void TickComponent(float DeltaTime, ELevelTick TickType, FActorComponentTickFunction *ThisTickFunction) override
void SetMode(ECesiumOriginShiftMode NewMode)
Sets a value indicating how to shift the origin as the Actor to which this component is attached move...
void SetDistance(double NewDistance)
Sets the maximum distance between the origin of the Unreal coordinate system and the Actor to which t...
ECesiumOriginShiftMode GetMode() const
Gets a value indicating how to shift the origin as the Actor to which this component is attached move...
double GetDistance() const
Gets the maximum distance between the origin of the Unreal coordinate system and the Actor to which t...