Class XRPointCloudSubsystemDescriptor
The descriptor of the XRPointCloudSubsystem that shows which point cloud detection features are available on that XRSubsystem.
Inheritance
Implements
Inherited Members
Namespace: UnityEngine.XR.ARSubsystems
Assembly: Unity.XR.ARSubsystems.dll
Syntax
public class XRPointCloudSubsystemDescriptor : SubsystemDescriptorWithProvider<XRPointCloudSubsystem, XRPointCloudSubsystem.Provider>, ISubsystemDescriptor
Remarks
Use the RegisterDescriptor(Cinfo) factory method along with XRPointCloudSubsystemDescriptor.Cinfo struct to construct and register one of these from each point cloud data provider.
Properties
supportsConfidence
True if the implementation supports per feature point confidence values, false otherwise.
Declaration
public bool supportsConfidence { get; }
Property Value
| Type | Description |
|---|---|
| bool |
See Also
supportsFeaturePoints
True if the implementation supports feature points, false otherwise.
Declaration
public bool supportsFeaturePoints { get; }
Property Value
| Type | Description |
|---|---|
| bool |
See Also
supportsUniqueIds
True if the implementation supports per feature point identifiers, false otherwise.
Declaration
public bool supportsUniqueIds { get; }
Property Value
| Type | Description |
|---|---|
| bool |
See Also
Methods
Register(Cinfo)
Registers a subsystem descriptor with the SubsystemManager.
Declaration
public static void Register(XRPointCloudSubsystemDescriptor.Cinfo cinfo)
Parameters
| Type | Name | Description |
|---|---|---|
| XRPointCloudSubsystemDescriptor.Cinfo | cinfo | Parameters describing the XRPointCloudSubsystem. |
See Also
RegisterDescriptor(Cinfo)
Registers a subsystem implementation with the SubsystemManager.
Declaration
[Obsolete("RegisterDescriptor(Cinfo) has been deprecated in AR Foundation version 6.0. Use Register(Cinfo) instead (UnityUpgradable) -> Register(*)", false)]
public static void RegisterDescriptor(XRPointCloudSubsystemDescriptor.Cinfo descriptorParams)
Parameters
| Type | Name | Description |
|---|---|---|
| XRPointCloudSubsystemDescriptor.Cinfo | descriptorParams | Parameters describing the XRPointCloudSubsystem. |