SimulatedMotionControllerButtonState Struct
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.
Struct storing the states of buttons on the motion controller
public value class SimulatedMotionControllerButtonState : IEquatable<Microsoft::MixedReality::Toolkit::Input::SimulatedMotionControllerButtonState>
public struct SimulatedMotionControllerButtonState : IEquatable<Microsoft.MixedReality.Toolkit.Input.SimulatedMotionControllerButtonState>
type SimulatedMotionControllerButtonState = struct
Public Structure SimulatedMotionControllerButtonState
Implements IEquatable(Of SimulatedMotionControllerButtonState)
- Inheritance
-
SimulatedMotionControllerButtonState
- Implements
Fields
IsGrabbing |
Whether the motion controller is grabbing (i.e. the grab button is being pressed) |
IsPressingMenu |
Whether the menu button on the motion controller is being pressed |
IsSelecting |
Whether the motion controller is selecting (i.e. the trigger button is being pressed) |
Methods
Equals(Object) | |
Equals(SimulatedMotionControllerButtonState) | |
GetHashCode() |
Operators
Equality(SimulatedMotionControllerButtonState, SimulatedMotionControllerButtonState) | |
Inequality(SimulatedMotionControllerButtonState, SimulatedMotionControllerButtonState) |