Struct XRPointCloudSubsystemDescriptor.Cinfo
This struct is an initializer for the creation of a XRPointCloudSubsystemDescriptor.
Inherited Members
Namespace: UnityEngine.XR.ARSubsystems
Syntax
public struct Cinfo : IEquatable<XRPointCloudSubsystemDescriptor.Cinfo>
Remarks
Point cloud data provider should create a descriptor during InitializeOnLoad
using
the parameters here to specify which of the XRPointCloudSubsystem
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
[Obsolete("XRPointCloudSubsystem no longer supports the deprecated set of base classes for subsystems as of Unity 2020.2. Use providerType and, optionally, subsystemTypeOverride instead.", true)]
public Type implementationType
Field Value
Type | Description |
---|---|
Type |
Properties
providerType
Specifies the provider implementation type to use for instantiation.
Declaration
public Type providerType { readonly get; set; }
Property Value
Type | Description |
---|---|
Type | The provider implementation type to use for instantiation. |
subsystemTypeOverride
Specifies the XRPointCloudSubsystem
-derived type that forwards casted calls to its provider.
Declaration
public Type subsystemTypeOverride { readonly get; set; }
Property Value
Type | Description |
---|---|
Type | The type of the subsystem to use for instantiation. If null, |
supportsConfidence
True
if the subsystem supports per feature point confidence values, false
otherwise.
Declaration
public bool supportsConfidence { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
supportsFeaturePoints
True
if the subsystem supports feature points, false
otherwise.
Declaration
public bool supportsFeaturePoints { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
supportsUniqueIds
True
if the subsystem supports per-feature point identifiers, false
otherwise.
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(XRPointCloudSubsystemDescriptor.Cinfo)
Tests for equality.
Declaration
public bool Equals(XRPointCloudSubsystemDescriptor.Cinfo other)
Parameters
Type | Name | Description |
---|---|---|
XRPointCloudSubsystemDescriptor.Cinfo | other | The other XRPointCloudSubsystemDescriptor.Cinfo to compare against. |
Returns
Type | Description |
---|---|
Boolean |
|
Implements
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(XRPointCloudSubsystemDescriptor.Cinfo, XRPointCloudSubsystemDescriptor.Cinfo)
Tests for equality. Same as Equals(XRPointCloudSubsystemDescriptor.Cinfo).
Declaration
public static bool operator ==(XRPointCloudSubsystemDescriptor.Cinfo lhs, XRPointCloudSubsystemDescriptor.Cinfo rhs)
Parameters
Type | Name | Description |
---|---|---|
XRPointCloudSubsystemDescriptor.Cinfo | lhs | The left-hand side of the comparison. |
XRPointCloudSubsystemDescriptor.Cinfo | rhs | The right-hand side of the comparison. |
Returns
Type | Description |
---|---|
Boolean |
|
Inequality(XRPointCloudSubsystemDescriptor.Cinfo, XRPointCloudSubsystemDescriptor.Cinfo)
Tests for inequality. Same as !
Equals(XRPointCloudSubsystemDescriptor.Cinfo).
Declaration
public static bool operator !=(XRPointCloudSubsystemDescriptor.Cinfo lhs, XRPointCloudSubsystemDescriptor.Cinfo rhs)
Parameters
Type | Name | Description |
---|---|---|
XRPointCloudSubsystemDescriptor.Cinfo | lhs | The left-hand side of the comparison. |
XRPointCloudSubsystemDescriptor.Cinfo | rhs | The right-hand side of the comparison. |
Returns
Type | Description |
---|---|
Boolean |
|