Class XRDepthSubsystemDescriptor
The descriptor of the XRDepthSubsystem that shows which depth detection features are available on that XRSubsystem.
Inheritance
SubsystemDescriptorWithProvider
XRDepthSubsystemDescriptor
Implements
ISubsystemDescriptor
Inherited Members
SubsystemDescriptorWithProvider<XRDepthSubsystem, XRDepthSubsystem.Provider>.Create()
SubsystemDescriptorWithProvider.id
SubsystemDescriptorWithProvider.providerType
SubsystemDescriptorWithProvider.subsystemTypeOverride
Namespace: UnityEngine.XR.ARSubsystems
Assembly: Unity.XR.ARSubsystems.dll
Syntax
[Obsolete("XRDepthSubsystemDescriptor has been deprecated. Use XRPointCloudSubsystemDescriptor instead (UnityUpgradable) -> UnityEngine.XR.ARSubsystems.XRPointCloudSubsystemDescriptor", true)]
public class XRDepthSubsystemDescriptor : SubsystemDescriptorWithProvider<XRDepthSubsystem, XRDepthSubsystem.Provider>, ISubsystemDescriptor
Remarks
Use the RegisterDescriptor(Cinfo) factory method along with XRDepthSubsystemDescriptor.Cinfo struct to construct and register one of these from each depth 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
RegisterDescriptor(Cinfo)
Registers a subsystem implementation with the SubsystemManager
.
Declaration
public static void RegisterDescriptor(XRDepthSubsystemDescriptor.Cinfo descriptorParams)
Parameters
Type | Name | Description |
---|---|---|
XRDepthSubsystemDescriptor.Cinfo | descriptorParams |
See Also
Implements
UnityEngine.ISubsystemDescriptor