init(alignments:)
Creates a plane detection provider for the types of planes you want to detect.
Declaration
init(alignments: [PlaneAnchor.Alignment] = [.horizontal, .vertical])Parameters
- alignments:
The types of planes you want to detect — horizontal, vertical, or both.