<!--
{
  "availability" : [
    "iOS: -",
    "iPadOS: -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SwiftUI",
  "identifier" : "/documentation/SwiftUI/GeometryProxy3D",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "SwiftUI"
    ],
    "preciseIdentifier" : "s:7SwiftUI15GeometryProxy3DV"
  },
  "title" : "GeometryProxy3D"
}
-->

# GeometryProxy3D

A proxy for access to the size and coordinate space of the container view.

```
struct GeometryProxy3D
```

## Overview

You can use a proxy for anchor resolution.

## Topics

### Accessing geometry characteristics

[`func frame(in: some CoordinateSpaceProtocol) -> Rect3D`](/documentation/SwiftUI/GeometryProxy3D/frame(in:))

The container view’s bounds rectangle converted to a defined
coordinate space.

[`var size: Size3D`](/documentation/SwiftUI/GeometryProxy3D/size)

The size of the container view.

[`var safeAreaInsets: EdgeInsets3D`](/documentation/SwiftUI/GeometryProxy3D/safeAreaInsets)

The safe area inset of the container view.

[`subscript<T>(Anchor<T>) -> T`](/documentation/SwiftUI/GeometryProxy3D/subscript(_:))

Resolves the value of an anchor to the container view.

[`func transform(in: some CoordinateSpaceProtocol) -> AffineTransform3D?`](/documentation/SwiftUI/GeometryProxy3D/transform(in:))

The container view’s 3D transform converted to a defined coordinate
space.

### Instance Methods

[`func coordinateSpace3D(for: any CoordinateSpaceProtocol) -> GeometryProxyCoordinateSpace3D`](/documentation/SwiftUI/GeometryProxy3D/coordinateSpace3D(for:))

Returns a value that can be used for `CoordinateSpace3D`
based coordinate conversions.

---

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)