Struct SimulatedMotionControllerButtonState
Struct storing the states of buttons on the motion controller
Assembly: cs.temp.dll.dll
public struct SimulatedMotionControllerButtonState : IEquatable<SimulatedMotionControllerButtonState>
Fields
Whether the motion controller is grabbing (i.e. the grab button is being pressed)
Declaration
Field Value
Whether the menu button on the motion controller is being pressed
Declaration
public bool IsPressingMenu
Field Value
Whether the motion controller is selecting (i.e. the trigger button is being pressed)
Declaration
Field Value
Methods
Declaration
public bool Equals(SimulatedMotionControllerButtonState state)
Parameters
Returns
Declaration
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
Object |
obj |
|
Returns
Overrides
Declaration
public override int GetHashCode()
Returns
Overrides
Operators
Declaration
public static bool operator ==(SimulatedMotionControllerButtonState lhs, SimulatedMotionControllerButtonState rhs)
Parameters
Returns
Declaration
public static bool operator !=(SimulatedMotionControllerButtonState lhs, SimulatedMotionControllerButtonState rhs)
Parameters
Returns
Implements