Description

Allows you to bind the position and rotation of an object with this component to a TrackedPoint.

interface TrackedPointComponent {
    enabled: boolean;
    isValid: boolean;
    trackedPoint: TrackedPoint;
    uniqueIdentifier: string;
    destroy(): void;
    getSceneObject(): SceneObject;
    getTransform(): Transform;
    getTypeName(): string;
    isOfType(type): boolean;
    isSame(other): boolean;
}

Hierarchy (view full)

Properties

enabled: boolean

Description

If disabled, the Component will stop enacting its behavior.

isValid: boolean

Description

Returns whether the trackedPoint is valid.

trackedPoint: TrackedPoint

Description

The TrackedPoint which this component will copy the position and rotation from.

uniqueIdentifier: string

Methods

  • Returns void

    Description

    Destroys the component.

  • Returns string

    Description

    Returns the name of this object's type.

  • Parameters

    • type: string

    Returns boolean

    Description

    Returns true if the object matches or derives from the passed in type.

  • Parameters

    Returns boolean

    Description

    Returns true if this object is the same as other. Useful for checking if two references point to the same thing.

Generated using TypeDoc