docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct XRHandSubsystemConfiguration

    Configuration settings for the XR Hand Subsystem.

    Implements
    IEquatable<XRHandSubsystemConfiguration>
    Inherited Members
    ValueType.ToString()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: UnityEngine.XR.Hands.Configuration
    Assembly: Unity.XR.Hands.dll
    Syntax
    public struct XRHandSubsystemConfiguration : IEquatable<XRHandSubsystemConfiguration>

    Properties

    xrHandDevicePoseSource

    The pose source to be used by XRHandDevice. This will take effect in the input device the next time XRHandSubsystem invokes updatedHands.

    Declaration
    public XRHandDevicePoseSource xrHandDevicePoseSource { readonly get; set; }
    Property Value
    Type Description
    XRHandDevicePoseSource
    Remarks

    The transition to the new pose source will be immediate. The device will not attempt to transition or cancel in-flight data streams.

    See Also
    UpdateHandsConfiguration(XRHandSubsystemConfiguration)
    handSubsystemConfiguration

    Methods

    Equals(object)

    Tests for equality.

    Declaration
    public override readonly bool Equals(object obj)
    Parameters
    Type Name Description
    object obj

    The object to compare against.

    Returns
    Type Description
    bool

    Returns true if obj is of type XRHandSubsystemConfiguration and has every field equal to this, otherwise returns false.

    Overrides
    ValueType.Equals(object)
    See Also
    UpdateHandsConfiguration(XRHandSubsystemConfiguration)
    handSubsystemConfiguration

    Equals(in XRHandSubsystemConfiguration)

    Tests for equality.

    Declaration
    public readonly bool Equals(in XRHandSubsystemConfiguration other)
    Parameters
    Type Name Description
    XRHandSubsystemConfiguration other

    The object to compare against.

    Returns
    Type Description
    bool

    Returns true if other has every field equal to this, otherwise returns false.

    See Also
    UpdateHandsConfiguration(XRHandSubsystemConfiguration)
    handSubsystemConfiguration

    GetHashCode()

    Computes a hash code from all fields of this XRHandSubsystemConfiguration.

    Declaration
    public override readonly int GetHashCode()
    Returns
    Type Description
    int

    Returns a hash code of this object.

    Overrides
    ValueType.GetHashCode()
    See Also
    UpdateHandsConfiguration(XRHandSubsystemConfiguration)
    handSubsystemConfiguration

    Operators

    operator ==(in XRHandSubsystemConfiguration, in XRHandSubsystemConfiguration)

    Tests for equality. Same as Equals(in XRHandSubsystemConfiguration).

    Declaration
    public static bool operator ==(in XRHandSubsystemConfiguration lhs, in XRHandSubsystemConfiguration rhs)
    Parameters
    Type Name Description
    XRHandSubsystemConfiguration lhs

    The left-hand side of the comparison.

    XRHandSubsystemConfiguration rhs

    The right-hand side of the comparison.

    Returns
    Type Description
    bool

    Returns true if lhs is equal to rhs, otherwise returns false.

    See Also
    UpdateHandsConfiguration(XRHandSubsystemConfiguration)
    handSubsystemConfiguration

    operator !=(in XRHandSubsystemConfiguration, in XRHandSubsystemConfiguration)

    Tests for inequality. Same as !Equals(in XRHandSubsystemConfiguration).

    Declaration
    public static bool operator !=(in XRHandSubsystemConfiguration lhs, in XRHandSubsystemConfiguration rhs)
    Parameters
    Type Name Description
    XRHandSubsystemConfiguration lhs

    The left-hand side of the comparison.

    XRHandSubsystemConfiguration rhs

    The right-hand side of the comparison.

    Returns
    Type Description
    bool

    Returns true if lhs is not equal to rhs, otherwise returns false.

    See Also
    UpdateHandsConfiguration(XRHandSubsystemConfiguration)
    handSubsystemConfiguration

    Implements

    IEquatable<T>

    See Also

    UpdateHandsConfiguration(XRHandSubsystemConfiguration)
    handSubsystemConfiguration
    In This Article
    Back to top
    Copyright © 2026 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)