#include "CesiumGlobeAnchoredActorComponent.h"
#include "CoreMinimal.h"
#include "CesiumOriginShiftComponent.generated.h"
Go to the source code of this file.
◆ ECesiumOriginShiftMode
Indicates how to shift the origin as the Actor to which a CesiumOriginShiftComponent is attached moves.
Enumerator |
---|
Disabled | This component is disabled and will have no effect.
|
SwitchSubLevelsOnly | The origin of the CesiumGeoreference will be changed when the Actor enters a new sub-level, but it will otherwise not be modified as the Actor moves.
Any objects that are not anchored to the globe with a CesiumGlobeAnchorComponent will appear to move when the Actor enters a sub-level.
|
ChangeCesiumGeoreference | The origin of the CesiumGeoreference will change as the Actor moves in order to maintain small, precise coordinate values near the Actor, as well as to keep the globe's local "up" direction aligned with the +Z axis.
Any objects that are not anchored to the globe with a CesiumGlobeAnchorComponent will appear to move whenever the origin changes.
When using this mode, all Cesium3DTileset instances as well as any Actors with a CesiumGlobeAnchorComponent need to be marked Movable, because these objects will be moved when the origin is shifted.
|
Definition at line 16 of file CesiumOriginShiftComponent.h.