編輯

共用方式為


HandTrackingInputEventData Class

Definition

public ref class HandTrackingInputEventData : Microsoft::MixedReality::Toolkit::Input::InputEventData<UnityEngine::Vector3>
public class HandTrackingInputEventData : Microsoft.MixedReality.Toolkit.Input.InputEventData<UnityEngine.Vector3>
type HandTrackingInputEventData = class
    inherit InputEventData<Vector3>
Public Class HandTrackingInputEventData
Inherits InputEventData(Of Vector3)
Inheritance
UnityEngine.EventSystems.BaseEventData
InputEventData<UnityEngine.Vector3>
HandTrackingInputEventData

Constructors

HandTrackingInputEventData(EventSystem)

Constructor creates a default EventData object. Requires initialization.

Properties

Controller
EventTime

The UTC time at which the event occurred.

(Inherited from BaseInputEventData)
Handedness

Handedness of the IMixedRealityInputSource.

(Inherited from InputEventData)
InputData

The input data of the event.

(Inherited from InputEventData<T>)
InputSource

The source the input event originates from.

(Inherited from BaseInputEventData)
MixedRealityInputAction

The input action for this event.

(Inherited from BaseInputEventData)
SourceId

The id of the source the event is from, for instance the hand id.

(Inherited from BaseInputEventData)

Methods

BaseInitialize(IMixedRealityInputSource, MixedRealityInputAction)

Used to initialize/reset the event and populate the data.

(Inherited from BaseInputEventData)
Initialize(IMixedRealityInputSource, Handedness, MixedRealityInputAction, T)

Used to initialize/reset the event and populate the data.

(Inherited from InputEventData<T>)
Initialize(IMixedRealityInputSource, Handedness, MixedRealityInputAction)

Used to initialize/reset the event and populate the data.

(Inherited from InputEventData)
Initialize(IMixedRealityInputSource, IMixedRealityController, Handedness, Vector3)

This function is called to fill the HandTrackingIntputEventData object with information

Applies to