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 |
Returns
Type | Description |
---|---|
Boolean |
|
Overrides
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 |
|
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(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 |
|
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 |
|