<!--
{
  "availability" : [
    "iOS: 27.0.0 -",
    "iPadOS: 27.0.0 -",
    "macCatalyst: -",
    "macOS: 27.0.0 -",
    "tvOS: 27.0.0 -",
    "visionOS: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "RealityKit",
  "identifier" : "/documentation/RealityKit/PortalComponent/BoundaryStyle/infinitePlane()",
  "metadataVersion" : "0.1.0",
  "role" : "Type Method",
  "symbol" : {
    "kind" : "Type Method",
    "modules" : [
      "RealityKit"
    ],
    "preciseIdentifier" : "s:17RealityFoundation15PortalComponentV13BoundaryStyleV13infinitePlaneAEyFZ"
  },
  "title" : "infinitePlane()"
}
-->

# infinitePlane()

Returns a boundary style that uses an infinite plane.

```
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(_:)`](/documentation/RealityKit/PortalComponent/ClippingMode-swift.enum/plane(_:))
and [`PortalComponent.CrossingMode.plane(_:)`](/documentation/RealityKit/PortalComponent/CrossingMode-swift.enum/plane(_:)) configured with [`positiveZ`](/documentation/RealityKit/PortalComponent/Plane/positiveZ).

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)