---
title: PortalComponent.Options
framework: realitykit
role: symbol
role_heading: Structure
path: realitykit/portalcomponent/options
---

# PortalComponent.Options

Options to toggle the portal features on and off.

## Declaration

```swift
struct Options
```

## Overview

Overview This option set is equivalent to setting clippingMode and crossingMode directly. Use this type with init(target:plane:options:).

## Topics

### Type Properties

- [allowCrossing](realitykit/portalcomponent/options/allowcrossing.md)
- [clipContents](realitykit/portalcomponent/options/clipcontents.md)

## Relationships

### Conforms To

- [Equatable](swift/equatable.md)
- [ExpressibleByArrayLiteral](swift/expressiblebyarrayliteral.md)
- [OptionSet](swift/optionset.md)
- [RawRepresentable](swift/rawrepresentable.md)
- [SetAlgebra](swift/setalgebra.md)
