Edit

Share via


KeyBinding.FromMouseButton Method

Definition

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

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

Returns

Applies to