docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct XRSessionSubsystemDescriptor.Cinfo

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

    Implements
    IEquatable<XRSessionSubsystemDescriptor.Cinfo>
    Inherited Members
    ValueType.ToString()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: UnityEngine.XR.ARSubsystems
    Assembly: Unity.XR.ARSubsystems.dll
    Syntax
    public struct XRSessionSubsystemDescriptor.Cinfo : IEquatable<XRSessionSubsystemDescriptor.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.

    subsystemTypeOverride

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

    supportsInstall

    Whether the session supports the update or installation of session software.

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

    supportsMatchFrameRate

    Whether the session supports matching the AR frame rate to the Unity frame rate.

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

    Methods

    Equals(object)

    Tests for equality.

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

    The object to test for equality.

    Returns
    Type Description
    bool

    true if obj is a XRSessionSubsystemDescriptor.Cinfo and Equals(Cinfo) returns true, otherwise false.

    Overrides
    ValueType.Equals(object)

    Equals(Cinfo)

    Tests for equality.

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

    The other XRSessionSubsystemDescriptor.Cinfo to compare against.

    Returns
    Type Description
    bool

    true if all fields in other are equal to this XRSessionSubsystemDescriptor.Cinfo, otherwise false.

    GetHashCode()

    Generates a hash code suitable for use in a HashSet or Dictionary.

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    int

    A hash code suitable for use in a HashSet or Dictionary.

    Overrides
    ValueType.GetHashCode()

    Operators

    operator ==(Cinfo, Cinfo)

    Tests for equality.

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

    The left-hand side of the comparison.

    XRSessionSubsystemDescriptor.Cinfo rhs

    The right-hand side of the comparison.

    Returns
    Type Description
    bool

    true if lhs is equal to rhs. Same as Equals(Cinfo).

    operator !=(Cinfo, Cinfo)

    Tests for inequality.

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

    The left-hand side of the comparison.

    XRSessionSubsystemDescriptor.Cinfo rhs

    The right-hand side of the comparison.

    Returns
    Type Description
    bool

    true if lhs is not equal to rhs. Same as !Equals(Cinfo).

    Implements

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