docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct XRDepthSubsystemDescriptor.Cinfo

    This struct is an initializer for the creation of a XRDepthSubsystemDescriptor.

    Implements
    IEquatable<XRDepthSubsystemDescriptor.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 XRDepthSubsystemDescriptor.Cinfo : IEquatable<XRDepthSubsystemDescriptor.Cinfo>
    Remarks

    Depth data provider should create a descriptor during InitializeOnLoad using the parameters here to specify which of the XRDepthSubsystem features it supports.

    Fields

    id

    The string identifier for a specific implementation.

    Declaration
    public string id
    Field Value
    Type Description
    string

    implementationType

    The concrete Type which will be instantiated if Create is called on this subsystem descriptor.

    Declaration
    [Obsolete("XRDepthSubsystem 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 implementationType
    Field Value
    Type Description
    Type

    Properties

    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 XRDepthSubsystem-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, XRDepthSubsystem will be instantiated.

    supportsConfidence

    True if the subsystem supports per feature point confidence values, false otherwise.

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

    supportsFeaturePoints

    True if the subsystem supports feature points, false otherwise.

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

    supportsUniqueIds

    True if the subsystem supports per-feature point identifiers, false otherwise.

    Declaration
    public bool supportsUniqueIds { 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 compare against.

    Returns
    Type Description
    bool

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

    Overrides
    ValueType.Equals(object)

    Equals(Cinfo)

    Tests for equality.

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

    The other XRDepthSubsystemDescriptor.Cinfo to compare against.

    Returns
    Type Description
    bool

    True if every field in other is equal to this XRDepthSubsystemDescriptor.Cinfo, otherwise false.

    GetHashCode()

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

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    int

    A hash code generated from this object's fields.

    Overrides
    ValueType.GetHashCode()

    Operators

    operator ==(Cinfo, Cinfo)

    Tests for equality. Same as Equals(Cinfo).

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

    The left-hand side of the comparison.

    XRDepthSubsystemDescriptor.Cinfo rhs

    The right-hand side of the comparison.

    Returns
    Type Description
    bool

    True if lhs is equal to rhs, otherwise false.

    operator !=(Cinfo, Cinfo)

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

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

    The left-hand side of the comparison.

    XRDepthSubsystemDescriptor.Cinfo rhs

    The right-hand side of the comparison.

    Returns
    Type Description
    bool

    True if lhs is not equal to rhs, otherwise false.

    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)