Bearbeiten

Freigeben über


MouseRotationProvider.Update(KeyBinding, KeyBinding, Boolean) Method

Definition

Start or stop rotation based on the key binding.

public:
 void Update(Microsoft::MixedReality::Toolkit::Input::KeyBinding rotationKey, Microsoft::MixedReality::Toolkit::Input::KeyBinding cancelRotationKey, bool toggle);
public void Update (Microsoft.MixedReality.Toolkit.Input.KeyBinding rotationKey, Microsoft.MixedReality.Toolkit.Input.KeyBinding cancelRotationKey, bool toggle);
member this.Update : Microsoft.MixedReality.Toolkit.Input.KeyBinding * Microsoft.MixedReality.Toolkit.Input.KeyBinding * bool -> unit
Public Sub Update (rotationKey As KeyBinding, cancelRotationKey As KeyBinding, toggle As Boolean)

Parameters

rotationKey
KeyBinding
cancelRotationKey
KeyBinding
toggle
Boolean

Remarks

Also manages shared features such as cursor visibility that can be activated by different rotation providers.

Applies to