Table of Contents

Class CesiumGlobeAnchorScript

Namespace
LibreRally
Assembly
LibreRally.dll

Applies a CesiumGlobeAnchorComponent to the owning entity at runtime.

[ComponentCategory("LibreRally")]
public sealed class CesiumGlobeAnchorScript : SyncScript, IIdentifiable, ICollectorHolder
Inheritance
SyncScript
CesiumGlobeAnchorScript
Implements
IIdentifiable
ICollectorHolder
Inherited Members

Properties

GeoreferenceEntity

Gets or sets the entity that owns the georeference component.

public Entity? GeoreferenceEntity { get; set; }

Property Value

Entity

Methods

Start()

Resolves required components and applies the initial anchored transform.

public override void Start()

Exceptions

InvalidOperationException

Thrown when the entity is missing a CesiumGlobeAnchorComponent or the scene has no CesiumGeoreferenceComponent.

Update()

Reapplies the anchored transform whenever the anchor or georeference changes.

public override void Update()