geometries(of:)
Returns the disjoint mesh geometries of a given classification.
Declaration
func geometries(of classification: MeshAnchor.MeshClassification) -> [MeshAnchor.Geometry]Parameters
- classification:
The mesh classification to look for.
Return Value
An array of MeshAnchor.Geometry structures that match the provided classification.
Discussion
RoomAnchor.geometries(of:) supports the ARMeshClassification.floor and ARMeshClassification.wall mesh classifications.