Lens Scripting API

    Class FaceTrackingScope

    The face that a tracker should use. Allows you to to apply the same face index to a group of Components.

    Hierarchy (View Summary, Expand)

    Index

    Properties

    faceIndex: number

    The face to track. The first face is 0, the second is 1, and so on.

    name: string

    The name of the Asset in Lens Studio.

    The parent context that this Tracking Scope is identifying the face from.

    uniqueIdentifier: string

    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