FirstModulAR 0.1.0
Loading...
Searching...
No Matches
FMAR.XRProviders.UnityXR.UnityXrCommonHand Class Reference

Class which converts a UnityXR hand into an FMAR Core common hand. More...

Inheritance diagram for FMAR.XRProviders.UnityXR.UnityXrCommonHand:
FMAR.Core.CommonHand

Public Member Functions

 UnityXrCommonHand (UnityEngine.XR.InputDevice inputDevice)
 
override void Update ()
 Updates the hand's bones, and finger bones. Runs every frame.
 
- Public Member Functions inherited from FMAR.Core.CommonHand
 CommonHand ()
 
void Update ()
 Called by FMARDeviceManager automatically, overriding classes should use this function to extract hand data from the source and populate bones.
 
void PinchUpdate ()
 Called by FMARDeviceManager automatically, handles processing of pinch-detection logic, updates fingerPinchData.
 
void Draw ()
 

Additional Inherited Members

- Public Attributes inherited from FMAR.Core.CommonHand
bool isRight
 
Bone rootBone
 
List< List< Bone > > fingerBones = new(5)
 
FingerPinchData[] fingerPinchData = new FingerPinchData[4]
 
- Protected Attributes inherited from FMAR.Core.CommonHand
string name
 
List< LineRenderer > lineRends = new(9)
 
List< LineRenderer > rootLineRends = new(3)
 
List< List< Renderer > > sphereRends = new(5)
 
- Properties inherited from FMAR.Core.CommonHand
List< BoneThumb [get]
 
List< BoneIndexFinger [get]
 
List< BoneMiddleFinger [get]
 
List< BoneRingFinger [get]
 
List< BonePinky [get]
 

Detailed Description

Class which converts a UnityXR hand into an FMAR Core common hand.

Constructor & Destructor Documentation

◆ UnityXrCommonHand()

FMAR.XRProviders.UnityXR.UnityXrCommonHand.UnityXrCommonHand ( UnityEngine.XR.InputDevice inputDevice)
inline

Member Function Documentation

◆ Update()

override void FMAR.XRProviders.UnityXR.UnityXrCommonHand.Update ( )
inline

Updates the hand's bones, and finger bones. Runs every frame.


The documentation for this class was generated from the following file: