KeyInputSystem.PressKey(KeyBinding) 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.
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
- kb
- KeyBinding