---
title: PortalComponent.Plane
framework: realitykit
role: symbol
role_heading: Structure
path: realitykit/portalcomponent/plane
---

# PortalComponent.Plane

A representation of a portal as an infinite plane.

## Declaration

```swift
struct Plane
```

## Overview

Overview Enable the corresponding clipping and crossing features by passing this value in PortalComponent.ClippingMode.plane(_:) or PortalComponent.CrossingMode.plane(_:). RealityKit defines the position and normal properties in entity local space. The following default values are available: positiveX negativeX positiveY negativeY positiveZ negativeZ See PortalComponent for example usage.

## Topics

### Creating a plane

- [init(position:normal:radius:)](realitykit/portalcomponent/plane/init(position:normal:radius:).md)

### Initializers

- [init(position:normal:)](realitykit/portalcomponent/plane/init(position:normal:).md)

### Instance Properties

- [normal](realitykit/portalcomponent/plane/normal.md)
- [position](realitykit/portalcomponent/plane/position.md)
- [radius](realitykit/portalcomponent/plane/radius.md)

### Type Properties

- [negativeX](realitykit/portalcomponent/plane/negativex.md)
- [negativeY](realitykit/portalcomponent/plane/negativey.md)
- [negativeZ](realitykit/portalcomponent/plane/negativez.md)
- [positiveX](realitykit/portalcomponent/plane/positivex.md)
- [positiveY](realitykit/portalcomponent/plane/positivey.md)
- [positiveZ](realitykit/portalcomponent/plane/positivez.md)

## Relationships

### Conforms To

- [Equatable](swift/equatable.md)
