Used to help control vertex animations on the SceneObject.

interface VertexCache {
    currentTime: number;
    enabled: boolean;
    sceneObject: SceneObject;
    uniqueIdentifier: string;
    weight: number;
    destroy(): void;
    getSceneObject(): SceneObject;
    getTransform(): Transform;
    getTypeName(): string;
    isOfType(type: string): boolean;
    isSame(other: ScriptObject): boolean;
}

Hierarchy (view full)

Properties

currentTime: number

The current time of vertex animations on this SceneObject.

enabled: boolean

If disabled, the Component will stop enacting its behavior.

sceneObject: SceneObject
uniqueIdentifier: string
weight: number

The weight applied to vertex animations on this SceneObject.

Methods

  • Destroys the component.

    Returns void

  • Returns the name of this object's type.

    Returns string

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

    Parameters

    • type: string

    Returns boolean

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

    Parameters

    Returns boolean