MixedRealityInputSystem.RaisePositionInputChanged Method

Definition

Overloads

RaisePositionInputChanged(IMixedRealityInputSource, Handedness, MixedRealityInputAction, Vector2)

Raise the 2 degrees of freedom input event.

C++
public:
 virtual void RaisePositionInputChanged(Microsoft::MixedReality::Toolkit::Input::IMixedRealityInputSource ^ source, Microsoft::MixedReality::Toolkit::Utilities::Handedness handedness, Microsoft::MixedReality::Toolkit::Input::MixedRealityInputAction inputAction, UnityEngine::Vector2 inputPosition);

Parameters

handedness
Handedness
inputPosition
UnityEngine.Vector2

Implements

Applies to

MRTK2 Unity 2018 2.7.0 och andra versioner
Produkt Versioner
MRTK2 Unity 2018 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0
MRTK2 Unity 2019 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0
MRTK2 Unity 2020 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0

RaisePositionInputChanged(IMixedRealityInputSource, Handedness, MixedRealityInputAction, Vector3)

Raise the 3 degrees of freedom input event.

C++
public:
 virtual void RaisePositionInputChanged(Microsoft::MixedReality::Toolkit::Input::IMixedRealityInputSource ^ source, Microsoft::MixedReality::Toolkit::Utilities::Handedness handedness, Microsoft::MixedReality::Toolkit::Input::MixedRealityInputAction inputAction, UnityEngine::Vector3 position);

Parameters

handedness
Handedness
position
UnityEngine.Vector3

Implements

Applies to

MRTK2 Unity 2018 2.7.0 och andra versioner
Produkt Versioner
MRTK2 Unity 2018 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0
MRTK2 Unity 2019 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0
MRTK2 Unity 2020 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0