docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct XRGestureSubsystemDescriptor.Cinfo

    Used in conjunction with RegisterDescriptor(Cinfo) to register a provider. This should only be used by subsystem implementors.

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

    Properties

    id

    The string used to identify this subsystem implementation. This will be available when enumerating the available descriptors at runtime.

    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

    The provider implementation type to use for instantiation.

    subsystemImplementationType

    The Type of the implementation.

    Declaration
    [Obsolete("XRGestureSubsystemDescriptor no longer supports the deprecated set of base classes for subsystems as of Unity 2020.2. Use providerType and, optionally, subsystemTypeOverride instead.", true)]
    public Type subsystemImplementationType { readonly get; set; }
    Property Value
    Type Description
    Type

    subsystemTypeOverride

    Specifies the XRGestureSubsystemDescriptor-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, XRGestureSubsystemDescriptor will be instantiated.

    Methods

    Equals(object)

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

    Equals(Cinfo)

    Equivalency test

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

    Object instance to test against

    Returns
    Type Description
    bool

    true if equal. false otherwise.

    GetHashCode()

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

    Operators

    operator ==(Cinfo, Cinfo)

    Equivalency test against two Cinfo instances

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

    First object instance to test against

    XRGestureSubsystemDescriptor.Cinfo rhs

    Second object instance to test against

    Returns
    Type Description
    bool

    true if equal. false otherwise.

    operator !=(Cinfo, Cinfo)

    Inequality test against two Cinfo instances

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

    First object instance to test against

    XRGestureSubsystemDescriptor.Cinfo rhs

    Second object instance to test against

    Returns
    Type Description
    bool

    true if NOT equal. false otherwise.

    Implements

    IEquatable<T>
    In This Article
    Back to top
    Copyright © 2025 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)