PortalComponent.BoundaryStyle
The shape of a portal’s clipping and crossing boundary.
Declaration
struct BoundaryStyleOverview
A portal has two related but separate concepts:
The surface, a flat plane mesh that RealityKit renders with PortalMaterial and sizes from PortalComponent.SurfaceStyle.
The boundary, the volume in space that clips portal world content and that crossing entities pass through. PortalComponent.BoundaryStyle describes the shape of that volume.
Pair a boundary style with a PortalComponent.BoundaryMode to control whether the boundary clips content, allows entities to cross, both, or neither.