Lens Scripting API

    Class Vec3AnimationTrackKeyFramed

    Represents an animation track using vec3 value keyframes.

    Hierarchy (View Summary, Expand)

    Index

    Constructors

    Properties

    name: string

    The name of the Asset in Lens Studio.

    uniqueIdentifier: string

    Methods

    • Adds a keyframe value value at time time.

      Parameters

      • time: number
      • value: vec3

      Returns void

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

      Parameters

      • type: string

      Returns boolean

    • Removes all keyframes.

      Returns void

    • Removes the keyframe at index.

      Parameters

      • index: number

      Returns void

    MMNEPVFCICPMFPCPTTAAATR