docs.unity3d.com
    Show / Hide Table of Contents

    Struct XRAnchorSubsystemDescriptor.Cinfo

    Constructor info used to register a descriptor.

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

    Properties

    id

    The string identifier for this subsystem.

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

    subsystemImplementationType

    The concrete Type of the subsystem which will be instantiated if a subsystem is created from this descriptor.

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

    supportsTrackableAttachments

    true if the subsystem supports attachments, i.e., the ability to attach an anchor to a trackable.

    Declaration
    public bool supportsTrackableAttachments { readonly 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 XRAnchorSubsystemDescriptor.Cinfo and Equals(XRAnchorSubsystemDescriptor.Cinfo) also returns true; otherwise false.

    Overrides
    ValueType.Equals(Object)

    Equals(XRAnchorSubsystemDescriptor.Cinfo)

    Tests for equality.

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

    The other XRAnchorSubsystemDescriptor.Cinfo to compare against.

    Returns
    Type Description
    Boolean

    True if every field in other is equal to this XRAnchorSubsystemDescriptor.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(XRAnchorSubsystemDescriptor.Cinfo, XRAnchorSubsystemDescriptor.Cinfo)

    Tests for equality. Same as Equals(XRAnchorSubsystemDescriptor.Cinfo).

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

    The left-hand side of the comparison.

    XRAnchorSubsystemDescriptor.Cinfo rhs

    The right-hand side of the comparison.

    Returns
    Type Description
    Boolean

    True if lhs is equal to rhs, otherwise false.

    Inequality(XRAnchorSubsystemDescriptor.Cinfo, XRAnchorSubsystemDescriptor.Cinfo)

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

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

    The left-hand side of the comparison.

    XRAnchorSubsystemDescriptor.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