Bearbeiten

Freigeben über


KeyInputSystem.PressKey(KeyBinding) Method

Definition

Presses a key. GetKeyDown(KeyBinding) and GetKey(KeyBinding) will be true for the keybinding. GetKeyUp(KeyBinding) will no longer be true for the keybinding.

public:
 static void PressKey(Microsoft::MixedReality::Toolkit::Input::KeyBinding kb);
public static void PressKey (Microsoft.MixedReality.Toolkit.Input.KeyBinding kb);
static member PressKey : Microsoft.MixedReality.Toolkit.Input.KeyBinding -> unit
Public Shared Sub PressKey (kb As KeyBinding)

Parameters

Applies to