Class XRDepthSubsystemDescriptor
The descriptor of the XRDepthSubsystem that shows which depth detection features are available on that XRSubsystem.
Inheritance
UnityEngine.SubsystemsImplementation.SubsystemDescriptorWithProvider
UnityEngine.SubsystemsImplementation.SubsystemDescriptorWithProvider<XRDepthSubsystem, XRDepthSubsystem.Provider>
XRDepthSubsystemDescriptor
Inherited Members
UnityEngine.SubsystemsImplementation.SubsystemDescriptorWithProvider<UnityEngine.XR.ARSubsystems.XRDepthSubsystem, UnityEngine.XR.ARSubsystems.XRDepthSubsystem.Provider>.Create()
UnityEngine.SubsystemsImplementation.SubsystemDescriptorWithProvider.UnityEngine.ISubsystemDescriptor.Create()
UnityEngine.SubsystemsImplementation.SubsystemDescriptorWithProvider.id
UnityEngine.SubsystemsImplementation.SubsystemDescriptorWithProvider.providerType
UnityEngine.SubsystemsImplementation.SubsystemDescriptorWithProvider.subsystemTypeOverride
Namespace: UnityEngine.XR.ARSubsystems
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(XRDepthSubsystemDescriptor.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 |
---|---|
Boolean |
supportsFeaturePoints
True
if the implementation supports feature points, false
otherwise.
Declaration
public bool supportsFeaturePoints { get; }
Property Value
Type | Description |
---|---|
Boolean |
supportsUniqueIds
True
if the implementation supports per feature point identifiers, false
otherwise.
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 |