KeyBinding.TryGetMouseButton 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
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
- mouseButton
- KeyBinding.MouseButton
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