Lens Scripting API

    Class PersonTrackingScope

    The person that a tracker should use. Allows you to to apply the same person index to a group of Components. Useful for correlating tracking between Body Tracking and Face Tracking.

    Hierarchy (View Summary, Expand)

    Index

    Properties

    name: string

    The name of the Asset in Lens Studio.

    The scope that the current PersonTrackingScope be based on.

    personIndex: number

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

    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