Class HandBounds
Utility behavior to access the axis aligned bounds of IMixedRealityHands (or the proxy visualizer of IMixedRealityControllers).
Implements
IEventSystemHandler
MonoBehaviour
Assembly: cs.temp.dll.dll
public class HandBounds : MonoBehaviour, IMixedRealitySourceStateHandler, IMixedRealityHandJointHandler, IEventSystemHandler, MonoBehaviour
Properties
Accessor for the bounds associated with a handedness.
Declaration
public Dictionary<Handedness, Bounds> Bounds { get; }
Property Value
Type |
Description |
Dictionary<Handedness, Bounds> |
|
Accessor for the bounds associated with a handedness.
Declaration
public Dictionary<Handedness, Bounds> Bounds { get; }
Property Value
Type |
Description |
Dictionary<Handedness, Bounds> |
|
Should a gizmo be drawn to represent the hand bounds.
Declaration
public bool DrawBoundsGizmo { get; set; }
Property Value
Should a gizmo be drawn to represent the hand bounds.
Declaration
public bool DrawBoundsGizmo { get; set; }
Property Value
Methods
Declaration
public void OnHandJointsUpdated(InputEventData<IDictionary<TrackedHandJoint, MixedRealityPose>> eventData)
Parameters
Type |
Name |
Description |
InputEventData<IDictionary<TrackedHandJoint, MixedRealityPose>> |
eventData |
|
Declaration
public void OnHandJointsUpdated(InputEventData<IDictionary<TrackedHandJoint, MixedRealityPose>> eventData)
Parameters
Type |
Name |
Description |
InputEventData<IDictionary<TrackedHandJoint, MixedRealityPose>> |
eventData |
|
Declaration
public void OnSourceDetected(SourceStateEventData eventData)
Parameters
Declaration
public void OnSourceDetected(SourceStateEventData eventData)
Parameters
Declaration
public void OnSourceLost(SourceStateEventData eventData)
Parameters
Declaration
public void OnSourceLost(SourceStateEventData eventData)
Parameters
Implements
IEventSystemHandler
MonoBehaviour