Preparing search index...

    Configures rotation behavior for entities.

        const model = this.pluginSystem.findInterface(Editor.Model.IModel) as Editor.Model.IModel;
    const scene = model.project.scene;

    const obj = scene.createSceneObject('TrackerObj');
    const dt = obj.addComponent('DeviceTracking') as Editor.Components.DeviceTracking;

    const rotOpts = dt.rotationOptions;
    rotOpts.invertRotation = true;
    console.log(`RotationOptions: invertRotation=${rotOpts.invertRotation}`);

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    id: Uuid

    The unique id of the entity.

    invertRotation: boolean

    Invert the rotation direction.

    meta: Meta

    Metadata associated with this entity, providing access to its unique identifier and other descriptive properties.

    type: string

    The entity's type.

    Methods

    • Returns true if the object is of the specified type.

      Parameters

      • type: string

      Returns boolean