Class HandTrackingInputEventData
Inherited Members
Namespace: Microsoft.MixedReality.Toolkit.Input
Assembly: cs.temp.dll.dll
Syntax
public class HandTrackingInputEventData : InputEventData<Vector3>
Constructors
HandTrackingInputEventData(EventSystem)
Constructor creates a default EventData object. Requires initialization.
Declaration
public HandTrackingInputEventData(EventSystem eventSystem)
Parameters
Type | Name | Description |
---|---|---|
EventSystem | eventSystem |
Properties
Controller
Declaration
public IMixedRealityController Controller { get; set; }
Property Value
Type | Description |
---|---|
IMixedRealityController |
Methods
Initialize(IMixedRealityInputSource, IMixedRealityController, Handedness, Vector3)
This function is called to fill the HandTrackingIntputEventData object with information
Declaration
public void Initialize(IMixedRealityInputSource inputSource, IMixedRealityController controller, Handedness sourceHandedness, Vector3 touchPoint)
Parameters
Type | Name | Description |
---|---|---|
IMixedRealityInputSource | inputSource | Reference to the HandTrackingInputSource that created the EventData |
IMixedRealityController | controller | Reference to the IMixedRealityController that created the EventData |
Handedness | sourceHandedness | Handedness of the HandTrackingInputSource that created the EventData |
Vector3 | touchPoint | Global position of the HandTrackingInputSource that created the EventData |