Class XRDepthSubsystemDescriptor
The descriptor of the XRDepthSubsystem that shows which depth detection features are available on that XRSubsystem.
Inheritance
XRDepthSubsystemDescriptor
Inherited Members
Namespace: UnityEngine.XR.ARSubsystems
Syntax
public class XRDepthSubsystemDescriptor : SubsystemDescriptor<XRDepthSubsystem>, ISubsystemDescriptor
Remarks
You use the RegisterDescriptor(XRDepthSubsystemDescriptor.Cinfo) factory method along with XRDepthSubsystemDescriptor.Cinfo struct to construct and register one of these from each depth data provider.
Properties
supportsConfidence
Whether the implementation supports per feature point confidence values.
Declaration
public bool supportsConfidence { get; }
Property Value
Type | Description |
---|---|
Boolean |
supportsFeaturePoints
Whether the implementation supports feature points.
Declaration
public bool supportsFeaturePoints { get; }
Property Value
Type | Description |
---|---|
Boolean |
supportsUniqueIds
Whether the implementation supports per feature point identifiers.
Declaration
public bool supportsUniqueIds { get; }
Property Value
Type | Description |
---|---|
Boolean |
Methods
RegisterDescriptor(XRDepthSubsystemDescriptor.Cinfo)
Registers a subsystem implementation with the SubsystemManager
.
Declaration
public static void RegisterDescriptor(XRDepthSubsystemDescriptor.Cinfo descriptorParams)
Parameters
Type | Name | Description |
---|---|---|
XRDepthSubsystemDescriptor.Cinfo | descriptorParams |