docs.unity3d.com
    Show / Hide Table of Contents

    Struct XRDepthSubsystemDescriptor.Cinfo

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

    Namespace: UnityEngine.XR.ARSubsystems
    Syntax
    public struct Cinfo : IEquatable<XRDepthSubsystemDescriptor.Cinfo>
    Remarks

    Depth data provider should create during InitializeOnLoad a descriptor using the params 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
    public Type implementationType
    Field Value
    Type Description
    Type

    Properties

    supportsConfidence

    Whether the subsystem supports per feature point confidence values.

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

    supportsFeaturePoints

    Whether the subsystem supports feature points

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

    supportsUniqueIds

    Whether the subsystem supports per-feature point identifiers.

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

    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

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

    Overrides
    ValueType.Equals(Object)

    Equals(XRDepthSubsystemDescriptor.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
    Boolean

    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
    Int32

    A hash code generated from this object's fields.

    Overrides
    ValueType.GetHashCode()

    Operators

    Equality(XRDepthSubsystemDescriptor.Cinfo, XRDepthSubsystemDescriptor.Cinfo)

    Tests for equality. Same as Equals(XRDepthSubsystemDescriptor.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
    Boolean

    True if lhs is equal to rhs, otherwise false.

    Inequality(XRDepthSubsystemDescriptor.Cinfo, XRDepthSubsystemDescriptor.Cinfo)

    Tests for inequality. Same as !Equals(XRDepthSubsystemDescriptor.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
    Boolean

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

    Back to top
    Terms of use
    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