MixedRealityControllerVisualizer.OnInputChanged 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.
OnInputChanged(InputEventData<Single>) |
Visualize single axis controls on the controller model, if supported |
OnInputChanged(InputEventData<Vector2>) |
Visualize the movement of a dual axis input on the controller model, if supported |
Visualize single axis controls on the controller model, if supported
public:
override void OnInputChanged(Microsoft::MixedReality::Toolkit::Input::InputEventData<float> ^ eventData);
public override void OnInputChanged (Microsoft.MixedReality.Toolkit.Input.InputEventData<float> eventData);
override this.OnInputChanged : Microsoft.MixedReality.Toolkit.Input.InputEventData<single> -> unit
Public Overrides Sub OnInputChanged (eventData As InputEventData(Of Single))
Parameters
- eventData
- InputEventData<Single>
Remarks
Reserved for future implementation
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 |
Visualize the movement of a dual axis input on the controller model, if supported
public:
override void OnInputChanged(Microsoft::MixedReality::Toolkit::Input::InputEventData<UnityEngine::Vector2> ^ eventData);
public override void OnInputChanged (Microsoft.MixedReality.Toolkit.Input.InputEventData<UnityEngine.Vector2> eventData);
override this.OnInputChanged : Microsoft.MixedReality.Toolkit.Input.InputEventData<UnityEngine.Vector2> -> unit
Public Overrides Sub OnInputChanged (eventData As InputEventData(Of Vector2))
Parameters
- eventData
- InputEventData<UnityEngine.Vector2>
Remarks
Reserved for future implementation
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 |