Lens Scripting API

    Class AnimationLayer

    Configures an animation layer for a single SceneObject. Gives access to position, rotation, scale and blend shape animation tracks.

    Hierarchy (View Summary, Expand)

    Index

    Constructors

    Properties

    name: string

    The name of the Asset in Lens Studio.

    The Vec3AnimationTrack controlling position in this AnimationLayer.

    The QuaternionAnimationTrack controlling rotation in this AnimationLayer.

    The Vec3AnimationTrack controlling scale in this AnimationLayer.

    uniqueIdentifier: string
    visibility: IntAnimationTrack

    The IntAnimationTrack controlling visibility in this AnimationLayer.

    Methods

    • 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

    MMNEPVFCICPMFPCPTTAAATR