<!--
{
  "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/MeshResource/GenerateTextOptions/containerFrame",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "RealityKit"
    ],
    "preciseIdentifier" : "s:17RealityFoundation12MeshResourceC19GenerateTextOptionsV14containerFrameSo6CGRectVSgvp"
  },
  "title" : "containerFrame"
}
-->

# containerFrame

The size in points of the frame where the text is laid out.

```
var containerFrame: CGRect?
```

## Discussion

The points are scaled at a ratio of 72 points per meter.

The container frame has the same origin as the local coordinate system.

> Note: Use a value of `nil` to denote an arbitrarily large frame.

---

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)