<!--
{
  "availability" : [
    "iOS: 18.0.0 -",
    "iPadOS: 18.0.0 -",
    "macCatalyst: 18.0.0 -",
    "macOS: 15.0.0 -",
    "tvOS: 26.0.0 -",
    "visionOS: 2.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "RealityKit",
  "identifier" : "/documentation/RealityKit/PortalComponent/Options",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "RealityKit"
    ],
    "preciseIdentifier" : "s:17RealityFoundation15PortalComponentV7OptionsV"
  },
  "title" : "PortalComponent.Options"
}
-->

# PortalComponent.Options

Options to toggle the portal features on and off.

```
struct Options
```

## Overview

This option set is equivalent to setting
[`clippingMode`](/documentation/RealityKit/PortalComponent/clippingMode-swift.property) and
[`crossingMode`](/documentation/RealityKit/PortalComponent/crossingMode-swift.property) directly.

Use this type with [`init(target:plane:options:)`](/documentation/RealityKit/PortalComponent/init(target:plane:options:)).

## Topics

### Type Properties

[`static let allowCrossing: PortalComponent.Options`](/documentation/RealityKit/PortalComponent/Options/allowCrossing)

An option that enables the crossing feature.

[`static let clipContents: PortalComponent.Options`](/documentation/RealityKit/PortalComponent/Options/clipContents)

An option that enables the clipping feature.

## Relationships

### Conforms To

[`Equatable`](/documentation/Swift/Equatable)

[`ExpressibleByArrayLiteral`](/documentation/Swift/ExpressibleByArrayLiteral)

[`OptionSet`](/documentation/Swift/OptionSet)

[`SetAlgebra`](/documentation/Swift/SetAlgebra)

[`RawRepresentable`](/documentation/Swift/RawRepresentable)

---

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)