Class XRPlaneSubsystemDescriptor
Describes the capabilities of an XRPlaneSubsystem.
Inheritance
UnityEngine.SubsystemsImplementation.SubsystemDescriptorWithProvider<XRPlaneSubsystem, XRPlaneSubsystem.Provider>
XRPlaneSubsystemDescriptor
Inherited Members
UnityEngine.SubsystemsImplementation.SubsystemDescriptorWithProvider<UnityEngine.XR.ARSubsystems.XRPlaneSubsystem, UnityEngine.XR.ARSubsystems.XRPlaneSubsystem.Provider>.Create()
UnityEngine.SubsystemsImplementation.SubsystemDescriptorWithProvider.UnityEngine.ISubsystemDescriptor.Create()
UnityEngine.SubsystemsImplementation.SubsystemDescriptorWithProvider.providerType
UnityEngine.SubsystemsImplementation.SubsystemDescriptorWithProvider.subsystemTypeOverride
Namespace: UnityEngine.XR.ARSubsystems
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 |
---|---|
Boolean |
supportsBoundaryVertices
true
if the subsystem supports boundary vertices for its planes.
Declaration
public bool supportsBoundaryVertices { get; }
Property Value
Type | Description |
---|---|
Boolean |
supportsClassification
true
if the current subsystem supports plane classification. Otherwise, false
.
Declaration
public bool supportsClassification { get; }
Property Value
Type | Description |
---|---|
Boolean |
supportsHorizontalPlaneDetection
true
if the subsystem supports horizontal plane detection.
Declaration
public bool supportsHorizontalPlaneDetection { get; }
Property Value
Type | Description |
---|---|
Boolean |
supportsVerticalPlaneDetection
true
if the subsystem supports vertical plane detection.
Declaration
public bool supportsVerticalPlaneDetection { get; }
Property Value
Type | Description |
---|---|
Boolean |
Methods
Create(XRPlaneSubsystemDescriptor.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. |