SimulatedMotionControllerButtonState Struct
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
C++
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
Is |
Whether the motion controller is grabbing (i.e. the grab button is being pressed) |
Is |
Whether the menu button on the motion controller is being pressed |
Is |
Whether the motion controller is selecting (i.e. the trigger button is being pressed) |
Equality(Simulated |
|
Inequality(Simulated |
Продукт | Версии |
---|---|
MRTK2 Unity 2018 | 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0 |
MRTK2 Unity 2019 | 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0 |
MRTK2 Unity 2020 | 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0 |