Contents

infinitePlane()

Returns a boundary style that uses an infinite plane.

Declaration

static func infinitePlane() -> PortalComponent.BoundaryStyle

Discussion

The boundary is the entity’s local XY plane. RealityKit clips portal world content behind the surface and lets crossing entities pass through it freely.

This boundary corresponds to PortalComponent.ClippingMode.plane(_:) and PortalComponent.CrossingMode.plane(_:) configured with positiveZ.