Edit

Share via


SimulatedMotionControllerButtonState Struct

Definition

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)

Applies to