Bearbeiten

Freigeben über


HandTrackingInputEventData.Initialize Method

Definition

This function is called to fill the HandTrackingIntputEventData object with information

public:
 void Initialize(Microsoft::MixedReality::Toolkit::Input::IMixedRealityInputSource ^ inputSource, Microsoft::MixedReality::Toolkit::Input::IMixedRealityController ^ controller, Microsoft::MixedReality::Toolkit::Utilities::Handedness sourceHandedness, UnityEngine::Vector3 touchPoint);
public void Initialize (Microsoft.MixedReality.Toolkit.Input.IMixedRealityInputSource inputSource, Microsoft.MixedReality.Toolkit.Input.IMixedRealityController controller, Microsoft.MixedReality.Toolkit.Utilities.Handedness sourceHandedness, UnityEngine.Vector3 touchPoint);
override this.Initialize : Microsoft.MixedReality.Toolkit.Input.IMixedRealityInputSource * Microsoft.MixedReality.Toolkit.Input.IMixedRealityController * Microsoft.MixedReality.Toolkit.Utilities.Handedness * UnityEngine.Vector3 -> unit
Public Sub Initialize (inputSource As IMixedRealityInputSource, controller As IMixedRealityController, sourceHandedness As Handedness, touchPoint As Vector3)

Parameters

inputSource
IMixedRealityInputSource

Reference to the HandTrackingInputSource that created the EventData

controller
IMixedRealityController

Reference to the IMixedRealityController that created the EventData

sourceHandedness
Handedness

Handedness of the HandTrackingInputSource that created the EventData

touchPoint
UnityEngine.Vector3

Global position of the HandTrackingInputSource that created the EventData

Applies to