---
title: fixedSize
framework: realitykit
role: symbol
role_heading: Type Property
path: realitykit/realityviewlayoutoption/fixedsize
---

# fixedSize

The option that fixes the size of the frame to equal the size of the visual content and centers the content within the new frame size.

## Declaration

```swift
static let fixedSize: RealityViewLayoutOption
```

## Mentioned in

Controlling the layout behavior of a reality view
