---
title: infinitePlane()
framework: realitykit
role: symbol
role_heading: Type Method
platforms: [iOS 27.0+, iPadOS 27.0+, Mac Catalyst 27.0+, macOS 27.0+, tvOS 27.0+, visionOS 27.0+]
path: realitykit/portalcomponent/boundarystyle/infiniteplane()
---

# infinitePlane()

Returns a boundary style that uses an infinite plane.

## Declaration

```swift
static func infinitePlane() -> PortalComponent.BoundaryStyle
```

## Discussion

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.
