Class BaseHandVisualizer
Inheritance
BaseHandVisualizer
Implements
IEventSystemHandler
Assembly: cs.temp.dll.dll
public class BaseHandVisualizer : MonoBehaviour, IMixedRealityHandVisualizer, IMixedRealityControllerVisualizer, IMixedRealitySourceStateHandler, IMixedRealityHandJointHandler, IMixedRealityHandMeshHandler, IEventSystemHandler
Fields
Declaration
protected MeshFilter handMeshFilter
Field Value
Type |
Description |
MeshFilter |
|
Declaration
protected readonly Dictionary<TrackedHandJoint, Transform> joints
Field Value
Type |
Description |
Dictionary<TrackedHandJoint, Transform> |
|
Properties
Declaration
public IMixedRealityController Controller { get; set; }
Property Value
Declaration
public GameObject GameObjectProxy { get; }
Property Value
Type |
Description |
GameObject |
|
Declaration
public virtual Handedness Handedness { get; set; }
Property Value
Type |
Description |
Handedness |
|
The active instance of the input system.
Declaration
protected IMixedRealityInputSystem InputSystem { get; }
Property Value
Methods
Declaration
public void OnHandMeshUpdated(InputEventData<HandMeshInfo> eventData)
Parameters
Declaration
public bool TryGetJointTransform(TrackedHandJoint joint, out Transform jointTransform)
Parameters
Type |
Name |
Description |
TrackedHandJoint |
joint |
|
Transform |
jointTransform |
|
Returns
Explicit Interface Implementations
Declaration
void IMixedRealityHandJointHandler.OnHandJointsUpdated(InputEventData<IDictionary<TrackedHandJoint, MixedRealityPose>> eventData)
Parameters
Type |
Name |
Description |
InputEventData<IDictionary<TrackedHandJoint, MixedRealityPose>> |
eventData |
|
Declaration
void IMixedRealitySourceStateHandler.OnSourceDetected(SourceStateEventData eventData)
Parameters
Declaration
void IMixedRealitySourceStateHandler.OnSourceLost(SourceStateEventData eventData)
Parameters
Implements
IEventSystemHandler