docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct XRBoundingBoxSubsystemDescriptor.Cinfo

    Contains the parameters necessary to construct a new XRBoundingBoxSubsystemDescriptor instance.

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

    Properties

    id

    The unique identifier of the provider implementation. No specific format is required.

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

    providerType

    The provider implementation type to use for instantiation.

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

    The provider implementation type.

    subsystemTypeOverride

    The XRBoundingBoxSubsystem-derived type to use for instantiation. The instantiated instance of this type will forward casted calls to its provider.

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

    The subsystem implementation type. If null, XRBoundingBoxSubsystem will be instantiated.

    supportsClassification

    Indicates whether the provider implementation can provide a value for XRBoundingBox.classifications. If false, all bounding boxes returned by XRBoundingBoxSubsystem.GetChanges will have a classifications value of None.

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

    true if the implementation supports 3D bounding box classification. Otherwise, false.

    Methods

    Equals(object)

    Tests for equality.

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

    The other XRBoundingBoxSubsystemDescriptor.Cinfo to compare against.

    Returns
    Type Description
    bool

    true if every field in other is equal to this instance. Otherwise, false.

    Overrides
    ValueType.Equals(object)

    Equals(Cinfo)

    Tests for equality.

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

    The other XRBoundingBoxSubsystemDescriptor.Cinfo to compare against.

    Returns
    Type Description
    bool

    true if every field in other is equal to this instance. 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. Equivalent to Equals(Cinfo).

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

    The left-hand side of the comparison.

    XRBoundingBoxSubsystemDescriptor.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. Equivalent to !Equals(Cinfo).

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

    The left-hand side of the comparison.

    XRBoundingBoxSubsystemDescriptor.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)