Interface VirtualCameraComponentDefinitionExtended

Hierarchy

Properties

Camera transition helper for time and speed modes

componentId: number
componentName: string
componentType: LastWriteWinElementSet

Methods

  • Marks the entity as deleted and signals it cannot be used ever again. It must clear the component internal state, produces a synchronization message to remove the component from the entity.

    Parameters

    • entity: Entity

      Entity ID that was deleted.

    • markAsDirty: boolean

    Returns void

  • Get the CRDT state for an entity (serialized data and timestamp)

    Returns

    Object with serialized data and timestamp, or null if entity doesn't have the component

    Parameters

    • entity: Entity

      Entity to get the CRDT state for

    Returns null | {
        data: Uint8Array;
        timestamp: number;
    }