Class XRPlaneSubsystemDescriptor
Describes the capabilities of an XRPlaneSubsystem.
Inheritance
XRPlaneSubsystemDescriptor
Implements
Inherited Members
SubsystemDescriptorWithProvider<XRPlaneSubsystem, XRPlaneSubsystem.Provider>.Create()
SubsystemDescriptorWithProvider.providerType
SubsystemDescriptorWithProvider.subsystemTypeOverride
Namespace: UnityEngine.XR.ARSubsystems
Assembly: Unity.XR.ARSubsystems.dll
Syntax
public class XRPlaneSubsystemDescriptor : SubsystemDescriptorWithProvider<XRPlaneSubsystem, XRPlaneSubsystem.Provider>, ISubsystemDescriptor
Properties
supportsArbitraryPlaneDetection
true if the subsystem supports arbitrarily angled plane detection.
Declaration
public bool supportsArbitraryPlaneDetection { get; }
Property Value
| Type | Description |
|---|---|
| bool |
supportsBoundaryVertices
true if the subsystem supports boundary vertices for its planes.
Declaration
public bool supportsBoundaryVertices { get; }
Property Value
| Type | Description |
|---|---|
| bool |
supportsClassification
true if the current subsystem supports plane classification. Otherwise, false.
Declaration
public bool supportsClassification { get; }
Property Value
| Type | Description |
|---|---|
| bool |
supportsHorizontalPlaneDetection
true if the subsystem supports horizontal plane detection.
Declaration
public bool supportsHorizontalPlaneDetection { get; }
Property Value
| Type | Description |
|---|---|
| bool |
supportsVerticalPlaneDetection
true if the subsystem supports vertical plane detection.
Declaration
public bool supportsVerticalPlaneDetection { get; }
Property Value
| Type | Description |
|---|---|
| bool |
Methods
Create(Cinfo)
Creates a new subsystem descriptor and registers it with the SubsystemManager.
Declaration
public static void Create(XRPlaneSubsystemDescriptor.Cinfo cinfo)
Parameters
| Type | Name | Description |
|---|---|---|
| XRPlaneSubsystemDescriptor.Cinfo | cinfo | Construction info for the descriptor. |