XRSPACE Developer Console

Component - XRActionGestureHandler

With this component user can get all kinds of ActionGesture callback.

../_images/Component-XRActionGestureHandler.png

There are some options for developers to set:

  • HandlerType: Choose which handler to use.

  • RegferenceAction: Choose which action gesture to use.

    • IndexDown_Outward

      • When hand is outward, gesture Index to Fist.

    • IndexUp_Outward

      • When hand is outward, gesture Fist to Index.

    • Click_Outward

      • When hand is outward, action gesture IndexDown_Outward to IndexUp_Outward.

    • Grab_Outward

      • When hand is outward, gesture Open to Fist.

    • Release_Outward

      • When hand is outward, gesture Fist to Open.

    • IndexDown_Inward

      • When hand is inward, gesture gesture Index to Fist.

    • IndexUp_Inward

      • When hand is inward, gesture Fist to Index.

    • Click_Inward

      • When hand is inward, action gesture IndexDown_Outward to IndexUp_Outward.

    • Grab_Inward

      • When hand is inward, gesture Open to Fist.

    • Release_Inward

      • When hand is inward, gesture Fist to Open.

    • PointerDown

      • When hand is outward, gesture Index to Fist.

    • PointerUp

      • When hand is outward, gesture Fist to Index or Open.

  • EventHandler: Provide developers to get action gesture callback.