編輯

共用方式為


GenericXRSDKController.UpdateSingleAxisData Method

Definition

Update an interaction float data type from a SingleAxis (float) input

protected:
 virtual void UpdateSingleAxisData(Microsoft::MixedReality::Toolkit::Input::MixedRealityInteractionMapping ^ interactionMapping, UnityEngine::XR::InputDevice inputDevice);
protected virtual void UpdateSingleAxisData (Microsoft.MixedReality.Toolkit.Input.MixedRealityInteractionMapping interactionMapping, UnityEngine.XR.InputDevice inputDevice);
abstract member UpdateSingleAxisData : Microsoft.MixedReality.Toolkit.Input.MixedRealityInteractionMapping * UnityEngine.XR.InputDevice -> unit
override this.UpdateSingleAxisData : Microsoft.MixedReality.Toolkit.Input.MixedRealityInteractionMapping * UnityEngine.XR.InputDevice -> unit
Protected Overridable Sub UpdateSingleAxisData (interactionMapping As MixedRealityInteractionMapping, inputDevice As InputDevice)

Parameters

interactionMapping
MixedRealityInteractionMapping
inputDevice
UnityEngine.XR.InputDevice

Remarks

Raises a FloatInputChanged event when the float data changes

Applies to