Lens Scripting API
    Index

    Constructors

    Properties

    animateIndexGlowBase: PublicApi<boolean> = ...
    animateIndexGlowBonus: PublicApi<boolean> = ...
    animateThumbGlowBase: PublicApi<boolean> = ...
    animateThumbGlowBonus: PublicApi<boolean> = ...
    tapModeChanged: PublicApi<boolean> = ...

    Accessors

    • get currentState(): GlowEffectStates

      Get the current state of the state machine used to manage the glow effects

      Returns GlowEffectStates

      GlowEffectStates the state that the state machine is currently in

    Methods

    • Call to notify that we have entered or exited near pinch mode

      Parameters

      • enteredNearPinch: boolean

        Whether we have entered near pinch mode

      Returns void

    • Call to notify that we have entered or exited palm UI mode

      Parameters

      • enteredPalmUIMode: boolean

        Whether we have entered palm UI mode

      Returns void

    • Call to notify that we have entered or exited pinch mode

      Parameters

      • enteredPinch: boolean

        Whether we have entered pinch mode

      Returns void

    • Call to notify that we have entered or exited tap mode

      Parameters

      • enteredTap: boolean

        Whether we have entered tap mode

      Returns void

    • Call to notify that we have entered or exited targeting mode

      Parameters

      • enteredTargeting: boolean

        Whether we have entered targeting mode (hand not facing the camera)

      Returns void

    MMNEPVFCICPMFPCPTTAAATR