Class XRPlaneSubsystemDescriptor
Indicates the capabilities supported by a provider of the XRPlane
Inheritance
Implements
Inherited Members
Namespace: UnityEngine .XR.ARSubsystems
Assembly: Unity.XR.ARSubsystems.dll
Syntax
public class XRPlaneSubsystemDescriptor : SubsystemDescriptorWithProvider<XRPlaneSubsystem, XRPlaneSubsystem.Provider>, ISubsystemDescriptor
Properties
supportsArbitraryPlaneDetection
Indicates whether the provider implementation supports the detection of planes that are aligned with
neither the horizontal nor vertical axes.
If false, Bounded
Declaration
public bool supportsArbitraryPlaneDetection { get; }
Property Value
Type | Description |
---|---|
bool | true if the implementation supports the detection of planes oriented at arbitrary angles. Otherwise, false. |
supportsBoundaryVertices
Indicates whether the provider implementation supports boundary vertices for its planes.
If false, XRPlane
Declaration
public bool supportsBoundaryVertices { get; }
Property Value
Type | Description |
---|---|
bool | true if the implementation supports boundary vertices for its planes. Otherwise, false. |
supportsClassification
Indicates whether the provider implementation can provide a value for
Boundedclassifications
value of None.
Declaration
public bool supportsClassification { get; }
Property Value
supportsHorizontalPlaneDetection
Indicates whether the provider implementation supports the detection of horizontal planes,
such as the floor.
If false, Bounded
Declaration
public bool supportsHorizontalPlaneDetection { get; }
Property Value
Type | Description |
---|---|
bool | true if the implementation supports horizontal plane detection. Otherwise, false. |
supportsVerticalPlaneDetection
Indicates whether the provider implementation supports the detection of vertical planes, such as walls.
If false, Bounded
Declaration
public bool supportsVerticalPlaneDetection { get; }
Property Value
Type | Description |
---|---|
bool | true if the implementation supports vertical plane detection. Otherwise, false. |
Methods
Create(Cinfo)
Creates a new subsystem descriptor instance and registers it with the Subsystem
Declaration
[Obsolete("Create(Cinfo) has been deprecated in AR Foundation version 6.0. Use Register(Cinfo) instead (UnityUpgradable) -> Register(*)", false)]
public static void Create(XRPlaneSubsystemDescriptor.Cinfo cinfo)
Parameters
Type | Name | Description |
---|---|---|
XRPlane |
cinfo | Construction info for the descriptor. |
Register(Cinfo)
Creates a new subsystem descriptor instance and registers it with the Subsystem
Declaration
public static void Register(XRPlaneSubsystemDescriptor.Cinfo cinfo)
Parameters
Type | Name | Description |
---|---|---|
XRPlane |
cinfo | Construction info for the descriptor. |