Struct XRReferencePointSubsystemDescriptor.Cinfo
Constructor info used to register a descriptor.
Namespace: UnityEngine.XR.ARSubsystems
Syntax
public struct Cinfo : IEquatable<XRReferencePointSubsystemDescriptor.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 a reference point 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 |
Returns
Type | Description |
---|---|
Boolean |
|
Overrides
Equals(XRReferencePointSubsystemDescriptor.Cinfo)
Tests for equality.
Declaration
public bool Equals(XRReferencePointSubsystemDescriptor.Cinfo other)
Parameters
Type | Name | Description |
---|---|---|
XRReferencePointSubsystemDescriptor.Cinfo | other | The other XRReferencePointSubsystemDescriptor.Cinfo to compare against. |
Returns
Type | Description |
---|---|
Boolean |
|
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
Operators
Equality(XRReferencePointSubsystemDescriptor.Cinfo, XRReferencePointSubsystemDescriptor.Cinfo)
Tests for equality. Same as Equals(XRReferencePointSubsystemDescriptor.Cinfo).
Declaration
public static bool operator ==(XRReferencePointSubsystemDescriptor.Cinfo lhs, XRReferencePointSubsystemDescriptor.Cinfo rhs)
Parameters
Type | Name | Description |
---|---|---|
XRReferencePointSubsystemDescriptor.Cinfo | lhs | The left-hand side of the comparison. |
XRReferencePointSubsystemDescriptor.Cinfo | rhs | The right-hand side of the comparison. |
Returns
Type | Description |
---|---|
Boolean |
|
Inequality(XRReferencePointSubsystemDescriptor.Cinfo, XRReferencePointSubsystemDescriptor.Cinfo)
Tests for inequality. Same as !
Equals(XRReferencePointSubsystemDescriptor.Cinfo).
Declaration
public static bool operator !=(XRReferencePointSubsystemDescriptor.Cinfo lhs, XRReferencePointSubsystemDescriptor.Cinfo rhs)
Parameters
Type | Name | Description |
---|---|---|
XRReferencePointSubsystemDescriptor.Cinfo | lhs | The left-hand side of the comparison. |
XRReferencePointSubsystemDescriptor.Cinfo | rhs | The right-hand side of the comparison. |
Returns
Type | Description |
---|---|
Boolean |
|