We've moved!

Starting from MRTK 2.6, we are publishing both conceptual docs and API references on docs.microsoft.com. For conceptual docs, please visit our new landing page. For API references, please visit the MRTK-Unity section of the dot net API explorer. Existing content will remain here but will not be updated further.

Search Results for

    Show / Hide Table of Contents

    Struct SimulatedMotionControllerButtonState

    Struct storing the states of buttons on the motion controller

    Implements
    IEquatable<SimulatedMotionControllerButtonState>
    Inherited Members
    ValueType.ToString()
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetType()
    Namespace: Microsoft.MixedReality.Toolkit.Input
    Assembly: cs.temp.dll.dll
    Syntax
    public struct SimulatedMotionControllerButtonState : IEquatable<SimulatedMotionControllerButtonState>

    Fields

    IsGrabbing

    Whether the motion controller is grabbing (i.e. the grab button is being pressed)

    Declaration
    public bool IsGrabbing
    Field Value
    Type Description
    Boolean

    IsPressingMenu

    Whether the menu button on the motion controller is being pressed

    Declaration
    public bool IsPressingMenu
    Field Value
    Type Description
    Boolean

    IsSelecting

    Whether the motion controller is selecting (i.e. the trigger button is being pressed)

    Declaration
    public bool IsSelecting
    Field Value
    Type Description
    Boolean

    Methods

    Equals(SimulatedMotionControllerButtonState)

    Declaration
    public bool Equals(SimulatedMotionControllerButtonState state)
    Parameters
    Type Name Description
    SimulatedMotionControllerButtonState state
    Returns
    Type Description
    Boolean

    Equals(Object)

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    Object obj
    Returns
    Type Description
    Boolean
    Overrides
    ValueType.Equals(Object)

    GetHashCode()

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    Int32
    Overrides
    ValueType.GetHashCode()

    Operators

    Equality(SimulatedMotionControllerButtonState, SimulatedMotionControllerButtonState)

    Declaration
    public static bool operator ==(SimulatedMotionControllerButtonState lhs, SimulatedMotionControllerButtonState rhs)
    Parameters
    Type Name Description
    SimulatedMotionControllerButtonState lhs
    SimulatedMotionControllerButtonState rhs
    Returns
    Type Description
    Boolean

    Inequality(SimulatedMotionControllerButtonState, SimulatedMotionControllerButtonState)

    Declaration
    public static bool operator !=(SimulatedMotionControllerButtonState lhs, SimulatedMotionControllerButtonState rhs)
    Parameters
    Type Name Description
    SimulatedMotionControllerButtonState lhs
    SimulatedMotionControllerButtonState rhs
    Returns
    Type Description
    Boolean

    Implements

    System.IEquatable<T>
    In This Article
    Back to top Generated by DocFX