PortalComponent.SurfaceStyle
The size of the flat plane mesh that RealityKit generates for a portal.
Declaration
struct SurfaceStyleOverview
The factory entry points makePortal(surfaceStyle:boundaryStyle:boundaryMode:) and configure(world:portalEntity:surfaceStyle:boundaryStyle:boundaryMode:) use this value to build a ModelComponent whose mesh is a plane on the entity’s local XY plane, centered at the entity’s origin.
The portal mesh size is independent of the clipping or crossing boundary, which you configure with PortalComponent.BoundaryStyle.