Прочетете на английски Редактиране

Споделяне чрез


SimulatedMotionControllerButtonState Struct

Definition

Struct storing the states of buttons on the motion controller

C++
public value class SimulatedMotionControllerButtonState : IEquatable<Microsoft::MixedReality::Toolkit::Input::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

Operators

Applies to

Продукт Версии
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