Lens Scripting API

    Class FloatAnimationTrackKeyFramed

    Represents an animation track using float 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: number

      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