Struct XRPlaneSubsystemDescriptor.Cinfo
Constructor info used to register a descriptor.
Namespace: UnityEngine.XR.ARSubsystems
Syntax
public struct Cinfo : IEquatable<XRPlaneSubsystemDescriptor.Cinfo>
Properties
id
The string identifier for a specific implementation.
Declaration
public string id { readonly get; set; }
Property Value
Type | Description |
---|---|
String |
subsystemImplementationType
The concrete Type
which will be instantiated if Create
is called on this subsystem descriptor.
Declaration
public Type subsystemImplementationType { readonly get; set; }
Property Value
Type | Description |
---|---|
Type |
supportsArbitraryPlaneDetection
true
if the subsystem supports arbitrarily angled plane detection.
Declaration
public bool supportsArbitraryPlaneDetection { readonly get; set; }
Property Value
Type | Description |
---|---|
Boolean |
supportsBoundaryVertices
true
if the subsystem supports boundary vertices for its planes.
Declaration
public bool supportsBoundaryVertices { readonly get; set; }
Property Value
Type | Description |
---|---|
Boolean |
supportsClassification
true
if the subsystem supports boundary vertices for its planes.
Declaration
public bool supportsClassification { readonly get; set; }
Property Value
Type | Description |
---|---|
Boolean |
supportsHorizontalPlaneDetection
true
if the subsystem supports horizontal plane detection.
Declaration
public bool supportsHorizontalPlaneDetection { readonly get; set; }
Property Value
Type | Description |
---|---|
Boolean |
supportsVerticalPlaneDetection
true
if the subsystem supports vertical plane detection.
Declaration
public bool supportsVerticalPlaneDetection { 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(XRPlaneSubsystemDescriptor.Cinfo)
Tests for equality.
Declaration
public bool Equals(XRPlaneSubsystemDescriptor.Cinfo other)
Parameters
Type | Name | Description |
---|---|---|
XRPlaneSubsystemDescriptor.Cinfo | other | The other XRPlaneSubsystemDescriptor.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(XRPlaneSubsystemDescriptor.Cinfo, XRPlaneSubsystemDescriptor.Cinfo)
Tests for equality. Same as Equals(XRPlaneSubsystemDescriptor.Cinfo).
Declaration
public static bool operator ==(XRPlaneSubsystemDescriptor.Cinfo lhs, XRPlaneSubsystemDescriptor.Cinfo rhs)
Parameters
Type | Name | Description |
---|---|---|
XRPlaneSubsystemDescriptor.Cinfo | lhs | The left-hand side of the comparison. |
XRPlaneSubsystemDescriptor.Cinfo | rhs | The right-hand side of the comparison. |
Returns
Type | Description |
---|---|
Boolean |
|
Inequality(XRPlaneSubsystemDescriptor.Cinfo, XRPlaneSubsystemDescriptor.Cinfo)
Tests for inequality. Same as !
Equals(XRPlaneSubsystemDescriptor.Cinfo).
Declaration
public static bool operator !=(XRPlaneSubsystemDescriptor.Cinfo lhs, XRPlaneSubsystemDescriptor.Cinfo rhs)
Parameters
Type | Name | Description |
---|---|---|
XRPlaneSubsystemDescriptor.Cinfo | lhs | The left-hand side of the comparison. |
XRPlaneSubsystemDescriptor.Cinfo | rhs | The right-hand side of the comparison. |
Returns
Type | Description |
---|---|
Boolean |
|