Class PlaneClassificationExtensions
Utility methods for converting between PlaneClassification and PlaneClassifications values. These methods will be removed once the deprecated PlaneClassification
enumeration is removed.
Inherited Members
Namespace: UnityEngine.XR.ARSubsystems
Assembly: Unity.XR.ARSubsystems.dll
Syntax
[Obsolete("PlaneClassification has been deprecated in AR Foundation version 6.0. Use PlaneClassifications instead.")]
public static class PlaneClassificationExtensions
Methods
ConvertFromPlaneClassifications(PlaneClassification, PlaneClassifications)
Converts from PlaneClassifications to PlaneClassification .
Declaration
public static void ConvertFromPlaneClassifications(this PlaneClassification self, PlaneClassifications classifications)
Parameters
Type | Name | Description |
---|---|---|
PlaneClassification | self | The PlaneClassification being extended. |
PlaneClassifications | classifications | The PlaneClassifications to be converted. |
ConvertToPlaneClassifications(PlaneClassification)
Converts from PlaneClassification to PlaneClassifications .
Declaration
public static PlaneClassifications ConvertToPlaneClassifications(this PlaneClassification self)
Parameters
Type | Name | Description |
---|---|---|
PlaneClassification | self | The PlaneClassification being extended. |
Returns
Type | Description |
---|---|
PlaneClassifications | The converted value PlaneClassifications flags. |