mrtk_developmentreleases/2.0.0releases/2.1.0releases/2.2.0

    Show / Hide Table of Contents

    Class HandTrackingInputEventData

    Inheritance
    Object
    BaseInputEventData
    InputEventData
    InputEventData<Vector3>
    HandTrackingInputEventData
    Implements
    BaseEventData
    Inherited Members
    InputEventData<Vector3>.InputData
    InputEventData<Vector3>.Initialize(IMixedRealityInputSource, Handedness, MixedRealityInputAction, Vector3)
    InputEventData.Handedness
    InputEventData.Initialize(IMixedRealityInputSource, Handedness, MixedRealityInputAction)
    BaseInputEventData.EventTime
    BaseInputEventData.InputSource
    BaseInputEventData.SourceId
    BaseInputEventData.MixedRealityInputAction
    BaseInputEventData.BaseInitialize(IMixedRealityInputSource, MixedRealityInputAction)
    Namespace: Microsoft.MixedReality.Toolkit.Input
    Assembly: cs.temp.dll.dll
    Syntax
    public class HandTrackingInputEventData : InputEventData<Vector3>, BaseEventData

    Constructors

    HandTrackingInputEventData(EventSystem)

    Constructor creates a default EventData object. Requires initialization.

    Declaration
    public HandTrackingInputEventData(EventSystem eventSystem)
    Parameters
    Type Name Description
    EventSystem eventSystem

    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

    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

    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

    Implements

    BaseEventData
    In This Article
    • Constructors
      • HandTrackingInputEventData(EventSystem)
      • HandTrackingInputEventData(EventSystem)
    • Properties
      • Controller
      • Controller
    • Methods
      • Initialize(IMixedRealityInputSource, IMixedRealityController, Handedness, Vector3)
      • Initialize(IMixedRealityInputSource, IMixedRealityController, Handedness, Vector3)
    • Implements
    Back to top Generated by DocFX