Bearbeiten

Freigeben über


GenericXRSDKController.UpdateButtonData Method

Definition

Update an interaction bool data type from a bool input

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

Parameters

interactionMapping
MixedRealityInteractionMapping
inputDevice
UnityEngine.XR.InputDevice

Remarks

Raises an Input System "Input Down" event when the key is down, and raises an "Input Up" when it is released (e.g. a Button)

Applies to