Lens Scripting API

    Class Vec4AnimationTrackKeyFramed

    Represents an animation track using vec4 value keyframes.

    Hierarchy (View Summary, Expand)

    Index

    Constructors

    Properties

    name: string

    The name of the Asset in Lens Studio.

    uniqueIdentifier: string

    Methods

    • Adds a key with value value at time time.

      Parameters

      • time: number
      • value: vec4

      Returns void

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

      Parameters

      • type: string

      Returns boolean

    • Removes all keys.

      Returns void

    • Removes key at index index.

      Parameters

      • index: number

      Returns void

    MMNEPVFCICPMFPCPTTAAATR