IMixedRealityInputSystem.RaisePositionInputChanged Method
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.
RaisePositionInputChanged(IMixedRealityInputSource, Handedness, MixedRealityInputAction, Vector2) |
Raise the 2 degrees of freedom input event. |
RaisePositionInputChanged(IMixedRealityInputSource, Handedness, MixedRealityInputAction, Vector3) |
Raise the 3 degrees of freedom input event. |
Raise the 2 degrees of freedom input event.
C++
public:
void RaisePositionInputChanged(Microsoft::MixedReality::Toolkit::Input::IMixedRealityInputSource ^ source, Microsoft::MixedReality::Toolkit::Utilities::Handedness handedness, Microsoft::MixedReality::Toolkit::Input::MixedRealityInputAction inputAction, UnityEngine::Vector2 position);
public void RaisePositionInputChanged (Microsoft.MixedReality.Toolkit.Input.IMixedRealityInputSource source, Microsoft.MixedReality.Toolkit.Utilities.Handedness handedness, Microsoft.MixedReality.Toolkit.Input.MixedRealityInputAction inputAction, UnityEngine.Vector2 position);
abstract member RaisePositionInputChanged : Microsoft.MixedReality.Toolkit.Input.IMixedRealityInputSource * Microsoft.MixedReality.Toolkit.Utilities.Handedness * Microsoft.MixedReality.Toolkit.Input.MixedRealityInputAction * UnityEngine.Vector2 -> unit
Public Sub RaisePositionInputChanged (source As IMixedRealityInputSource, handedness As Handedness, inputAction As MixedRealityInputAction, position As Vector2)
Parameters
- source
- IMixedRealityInputSource
- handedness
- Handedness
- inputAction
- MixedRealityInputAction
- position
- UnityEngine.Vector2
Applies to
MRTK2 Unity 2018 2.7.0 and other versions
Product | Versions |
---|---|
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 |
Raise the 3 degrees of freedom input event.
C++
public:
void RaisePositionInputChanged(Microsoft::MixedReality::Toolkit::Input::IMixedRealityInputSource ^ source, Microsoft::MixedReality::Toolkit::Utilities::Handedness handedness, Microsoft::MixedReality::Toolkit::Input::MixedRealityInputAction inputAction, UnityEngine::Vector3 position);
public void RaisePositionInputChanged (Microsoft.MixedReality.Toolkit.Input.IMixedRealityInputSource source, Microsoft.MixedReality.Toolkit.Utilities.Handedness handedness, Microsoft.MixedReality.Toolkit.Input.MixedRealityInputAction inputAction, UnityEngine.Vector3 position);
abstract member RaisePositionInputChanged : Microsoft.MixedReality.Toolkit.Input.IMixedRealityInputSource * Microsoft.MixedReality.Toolkit.Utilities.Handedness * Microsoft.MixedReality.Toolkit.Input.MixedRealityInputAction * UnityEngine.Vector3 -> unit
Public Sub RaisePositionInputChanged (source As IMixedRealityInputSource, handedness As Handedness, inputAction As MixedRealityInputAction, position As Vector3)
Parameters
- source
- IMixedRealityInputSource
- handedness
- Handedness
- inputAction
- MixedRealityInputAction
- position
- UnityEngine.Vector3
Applies to
MRTK2 Unity 2018 2.7.0 and other versions
Product | Versions |
---|---|
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 |