A "common" hand structure which is capable of representing hands in a universal way, for use in any FMAR modules which use hands. XR Providers can inherit from this class to create a conversion scheme which translates other types of hand structures into a common hand.
More...
|
| struct | Bone |
| | Contains position/rotation data about an individual bone within the hand. More...
|
| |
|
| | 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 () |
| |
A "common" hand structure which is capable of representing hands in a universal way, for use in any FMAR modules which use hands. XR Providers can inherit from this class to create a conversion scheme which translates other types of hand structures into a common hand.
◆ CommonHand()
| FMAR.Core.CommonHand.CommonHand |
( |
| ) |
|
|
inline |
◆ Draw()
| void FMAR.Core.CommonHand.Draw |
( |
| ) |
|
|
inline |
◆ PinchUpdate()
| void FMAR.Core.CommonHand.PinchUpdate |
( |
| ) |
|
|
inline |
Called by FMARDeviceManager automatically, handles processing of pinch-detection logic, updates fingerPinchData.
◆ Update()
| void FMAR.Core.CommonHand.Update |
( |
| ) |
|
|
abstract |
Called by FMARDeviceManager automatically, overriding classes should use this function to extract hand data from the source and populate bones.
◆ fingerBones
| List<List<Bone> > FMAR.Core.CommonHand.fingerBones = new(5) |
◆ fingerPinchData
◆ isRight
| bool FMAR.Core.CommonHand.isRight |
◆ lineRends
| List<LineRenderer> FMAR.Core.CommonHand.lineRends = new(9) |
|
protected |
◆ name
| string FMAR.Core.CommonHand.name |
|
protected |
◆ rootBone
| Bone FMAR.Core.CommonHand.rootBone |
◆ rootLineRends
| List<LineRenderer> FMAR.Core.CommonHand.rootLineRends = new(3) |
|
protected |
◆ sphereRends
| List<List<Renderer> > FMAR.Core.CommonHand.sphereRends = new(5) |
|
protected |
◆ IndexFinger
| List<Bone> FMAR.Core.CommonHand.IndexFinger |
|
get |
◆ MiddleFinger
| List<Bone> FMAR.Core.CommonHand.MiddleFinger |
|
get |
◆ Pinky
| List<Bone> FMAR.Core.CommonHand.Pinky |
|
get |
◆ RingFinger
| List<Bone> FMAR.Core.CommonHand.RingFinger |
|
get |
◆ Thumb
| List<Bone> FMAR.Core.CommonHand.Thumb |
|
get |
The documentation for this class was generated from the following file:
- /github/workspace/Packages/FMAR/Core/Runtime/Scripts/CommonHand.cs