Lens Scripting API

    Main class for the hand data provider apis. Available apis:

    • getHand(handType: HandType) => BaseHand returns BaseHand Object that represents HandType
    • getDominantHand() => BaseHand returns BaseHand Object that represents the dominant hand as specified in the system through a Tweak.
    • getNonDominantHand() => BaseHand returns BaseHand Object that represents the non dominant hand as specified in the system through a Tweak.
    Index

    Constructors

    Properties

    getInstance: () => HandInputData

    Accessors

    • set enabled(enabled: boolean): void

      Sets the enabled state of the left and right hand. Events will not be called if isEnabled is set to false.

      Parameters

      • enabled: boolean

      Returns void

    Methods

    • Parameters

      • handType: "left" | "right"

      Returns default

    • Parameters

      • dominant: "left" | "right"

      Returns void

    MMNEPVFCICPMFPCPTTAAATR