KeyBinding.FromKey(KeyCode) 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.
Create a binding for a keyboard key.
public:
static Microsoft::MixedReality::Toolkit::Input::KeyBinding FromKey(UnityEngine::KeyCode keyCode);
public static Microsoft.MixedReality.Toolkit.Input.KeyBinding FromKey (UnityEngine.KeyCode keyCode);
static member FromKey : UnityEngine.KeyCode -> Microsoft.MixedReality.Toolkit.Input.KeyBinding
Public Shared Function FromKey (keyCode As KeyCode) As KeyBinding
Parameters
- keyCode
- UnityEngine.KeyCode