KeyBinding.FromMouseButton 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.
Overloads
FromMouseButton(KeyBinding+MouseButton) |
Create a binding for a mouse button. |
FromMouseButton(Int32) |
Create a binding for a mouse button. |
FromMouseButton(KeyBinding+MouseButton)
Create a binding for a mouse button.
public:
static Microsoft::MixedReality::Toolkit::Input::KeyBinding FromMouseButton(Microsoft::MixedReality::Toolkit::Input::KeyBinding::MouseButton mouseButton);
public static Microsoft.MixedReality.Toolkit.Input.KeyBinding FromMouseButton (Microsoft.MixedReality.Toolkit.Input.KeyBinding.MouseButton mouseButton);
static member FromMouseButton : Microsoft.MixedReality.Toolkit.Input.KeyBinding.MouseButton -> Microsoft.MixedReality.Toolkit.Input.KeyBinding
Public Shared Function FromMouseButton (mouseButton As KeyBinding.MouseButton) As KeyBinding
Parameters
- mouseButton
- KeyBinding.MouseButton
Returns
Applies to
FromMouseButton(Int32)
Create a binding for a mouse button.
public:
static Microsoft::MixedReality::Toolkit::Input::KeyBinding FromMouseButton(int mouseButton);
public static Microsoft.MixedReality.Toolkit.Input.KeyBinding FromMouseButton (int mouseButton);
static member FromMouseButton : int -> Microsoft.MixedReality.Toolkit.Input.KeyBinding
Public Shared Function FromMouseButton (mouseButton As Integer) As KeyBinding
Parameters
- mouseButton
- Int32