GenericXRSDKController.UpdateButtonData Method
Definition
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.
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)