Class RiggedHandVisualizer
Hand visualizer that controls a hierarchy of transforms to be used by a SkinnedMeshRenderer
Implementation is derived from LeapMotion RiggedHand and RiggedFinger and has visual parity
Inheritance
RiggedHandVisualizer
Implements
IEventSystemHandler
Assembly: cs.temp.dll.dll
public class RiggedHandVisualizer : MonoBehaviour, IMixedRealityControllerVisualizer, IMixedRealitySourceStateHandler, IMixedRealityHandJointHandler, IEventSystemHandler
Fields
Declaration
public bool DeformPosition
Field Value
Index metacarpal transform (index finger root)
Declaration
public Transform IndexRoot
Field Value
Type |
Description |
Transform |
|
Declaration
public bool IndexRootIsMetacarpal
Field Value
Middle metacarpal transform (middle finger root)
Declaration
public Transform MiddleRoot
Field Value
Type |
Description |
Transform |
|
Declaration
public bool MiddleRootIsMetacarpal
Field Value
Declaration
public Vector3 ModelFingerPointing
Field Value
Declaration
public bool ModelPalmAtLeapWrist
Field Value
Declaration
public Vector3 ModelPalmFacing
Field Value
Declaration
Field Value
Type |
Description |
Transform |
|
Pinky metacarpal transform (pinky finger root)
Declaration
public Transform PinkyRoot
Field Value
Type |
Description |
Transform |
|
Declaration
public bool PinkyRootIsMetacarpal
Field Value
Ring metacarpal transform (ring finger root)
Declaration
public Transform RingRoot
Field Value
Type |
Description |
Transform |
|
Declaration
public bool RingRootIsMetacarpal
Field Value
Declaration
public bool ScaleLastFingerBone
Field Value
Thumb metacarpal transform (thumb root)
Declaration
public Transform ThumbRoot
Field Value
Type |
Description |
Transform |
|
Declaration
public bool ThumbRootIsMetacarpal
Field Value
Declaration
Field Value
Type |
Description |
Transform |
|
Properties
The current controller reference.
Declaration
public IMixedRealityController Controller { get; set; }
Property Value
Declaration
public GameObject GameObjectProxy { get; }
Property Value
Type |
Description |
GameObject |
|
Hand material to use for hand tracking hand mesh.
Declaration
public Material HandMaterial { get; }
Property Value
Type |
Description |
Material |
|
Renderer of the hand mesh.
Declaration
public SkinnedMeshRenderer HandRenderer { get; }
Property Value
Type |
Description |
SkinnedMeshRenderer |
|
Property name for modifying the mesh's appearance based on pinch strength
Declaration
public string PinchStrengthMaterialProperty { get; }
Property Value
Explicit Interface Implementations
Declaration
void IMixedRealityHandJointHandler.OnHandJointsUpdated(InputEventData<IDictionary<TrackedHandJoint, MixedRealityPose>> eventData)
Parameters
Type |
Name |
Description |
InputEventData<IDictionary<TrackedHandJoint, MixedRealityPose>> |
eventData |
|
Raised when a source is detected.
Declaration
void IMixedRealitySourceStateHandler.OnSourceDetected(SourceStateEventData eventData)
Parameters
Raised when a source is lost.
Declaration
void IMixedRealitySourceStateHandler.OnSourceLost(SourceStateEventData eventData)
Parameters
Implements
IEventSystemHandler