編集

次の方法で共有


KeyBinding.TryGetMouseButton Method

Definition

Overloads

TryGetMouseButton(KeyBinding+MouseButton)

Try to convert the binding to a mouse button.

TryGetMouseButton(Int32)

Try to convert the binding to a mouse button.

TryGetMouseButton(KeyBinding+MouseButton)

Try to convert the binding to a mouse button.

public:
 bool TryGetMouseButton([Runtime::InteropServices::Out] Microsoft::MixedReality::Toolkit::Input::KeyBinding::MouseButton % mouseButton);
public bool TryGetMouseButton (out Microsoft.MixedReality.Toolkit.Input.KeyBinding.MouseButton mouseButton);
member this.TryGetMouseButton : MouseButton -> bool
Public Function TryGetMouseButton (ByRef mouseButton As KeyBinding.MouseButton) As Boolean

Parameters

Returns

True if the binding is a mouse button

Applies to

TryGetMouseButton(Int32)

Try to convert the binding to a mouse button.

public:
 bool TryGetMouseButton([Runtime::InteropServices::Out] int % mouseButton);
public bool TryGetMouseButton (out int mouseButton);
member this.TryGetMouseButton : int -> bool
Public Function TryGetMouseButton (ByRef mouseButton As Integer) As Boolean

Parameters

mouseButton
Int32

Returns

True if the binding is a mouse button

Applies to