HandTrackingInputEventData.Initialize Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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