編輯

共用方式為


MixedRealityControllerVisualizer.OnInputChanged Method

Definition

Overloads

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

OnInputChanged(InputEventData<Single>)

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

OnInputChanged(InputEventData<Vector2>)

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