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