Class XRPlaneSubsystemDescriptor
Describes the capabilities of an XRPlaneSubsystem.
Inheritance
XRPlaneSubsystemDescriptor
Inherited Members
Namespace: UnityEngine.XR.ARSubsystems
Syntax
public class XRPlaneSubsystemDescriptor : SubsystemDescriptor<XRPlaneSubsystem>, 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. |