日本語翻訳ドキュメントはサポートを終了しました

MRTK 2.6 以降のドキュメントについては、公式の Microsoft ドキュメント を参照してください。

    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>
    Back to top Generated by DocFX