docs.unity3d.com
    Show / Hide Table of Contents

    Struct XRHandSubsystemDescriptor.Cinfo

    Construction information for the XRHandSubsystemDescriptor.

    Inherited Members
    ValueType.ToString()
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetType()
    Namespace: UnityEngine.XR.Hands
    Syntax
    public struct Cinfo : IEquatable<XRHandSubsystemDescriptor.Cinfo>

    Properties

    id

    A string identifier used to name the subsystem provider.

    Declaration
    public string id { readonly get; set; }
    Property Value
    Type Description
    String

    providerType

    Specifies the provider implementation type to use for instantiation.

    Declaration
    public Type providerType { readonly get; set; }
    Property Value
    Type Description
    Type

    subsystemTypeOverride

    Specifies the XRHandSubsystem-derived type that forwards casted calls to its provider.

    Declaration
    public Type subsystemTypeOverride { readonly get; set; }
    Property Value
    Type Description
    Type

    The type of the subsystem to use for instantiation. If null, XRHandSubsystem will be instantiated.

    Methods

    Equals(Object)

    Tests for equality.

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

    The object to compare against.

    Returns
    Type Description
    Boolean

    Returns true if obj is of type XRHandSubsystemDescriptor.Cinfo and Equals(XRHandSubsystemDescriptor.Cinfo) also returns true; otherwise returns false.

    Overrides
    ValueType.Equals(Object)

    Equals(XRHandSubsystemDescriptor.Cinfo)

    Tests for equality.

    Declaration
    public bool Equals(XRHandSubsystemDescriptor.Cinfo other)
    Parameters
    Type Name Description
    XRHandSubsystemDescriptor.Cinfo other

    The other XRHandSubsystemDescriptor.Cinfo to compare against.

    Returns
    Type Description
    Boolean

    Returns true if every field in other is equal to this XRHandSubsystemDescriptor.Cinfo, otherwise returns true.

    Implements
    IEquatable<T>.Equals(T)

    GetHashCode()

    Generates a hash suitable for use with containers like HashSet and Dictionary.

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    Int32

    A hash code generated from this object's fields.

    Overrides
    ValueType.GetHashCode()

    Operators

    Equality(XRHandSubsystemDescriptor.Cinfo, XRHandSubsystemDescriptor.Cinfo)

    Tests for equality. Same as Equals(XRHandSubsystemDescriptor.Cinfo).

    Declaration
    public static bool operator ==(XRHandSubsystemDescriptor.Cinfo lhs, XRHandSubsystemDescriptor.Cinfo rhs)
    Parameters
    Type Name Description
    XRHandSubsystemDescriptor.Cinfo lhs

    The left-hand side of the comparison.

    XRHandSubsystemDescriptor.Cinfo rhs

    The right-hand side of the comparison.

    Returns
    Type Description
    Boolean

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

    Inequality(XRHandSubsystemDescriptor.Cinfo, XRHandSubsystemDescriptor.Cinfo)

    Tests for inequality. Same as !Equals(XRHandSubsystemDescriptor.Cinfo).

    Declaration
    public static bool operator !=(XRHandSubsystemDescriptor.Cinfo lhs, XRHandSubsystemDescriptor.Cinfo rhs)
    Parameters
    Type Name Description
    XRHandSubsystemDescriptor.Cinfo lhs

    The left-hand side of the comparison.

    XRHandSubsystemDescriptor.Cinfo rhs

    The right-hand side of the comparison.

    Returns
    Type Description
    Boolean

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

    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023