Language
Edit

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

Name Description
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

Name Description
Equals(Object)
Equals(SimulatedMotionControllerButtonState)
GetHashCode()

Operators

Name Description
Equality(SimulatedMotionControllerButtonState, SimulatedMotionControllerButtonState)
Inequality(SimulatedMotionControllerButtonState, SimulatedMotionControllerButtonState)

Applies to