![]() |
FirstModulAR 0.1.0
|
Common hand implementation for the Oculus XR provider. Maps the OVRHand to the CommonHand class. More...
Public Member Functions | |
| OculusCommonHand (OVRHand ovrHand) | |
| 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< Bone > | Thumb [get] |
| List< Bone > | IndexFinger [get] |
| List< Bone > | MiddleFinger [get] |
| List< Bone > | RingFinger [get] |
| List< Bone > | Pinky [get] |
Common hand implementation for the Oculus XR provider. Maps the OVRHand to the CommonHand class.
|
inline |
|
inline |
Updates the hand's bones, and finger bones. Runs every frame.