<!--
{
  "availability" : [
    "iOS: 17.0.0 -",
    "iPadOS: 17.0.0 -",
    "macCatalyst: 15.0.0 -",
    "macOS: 12.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "RealityKit",
  "identifier" : "/documentation/RealityKit/PhotogrammetrySession/Request/Geometry/init(bounds:transform:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "RealityKit"
    ],
    "preciseIdentifier" : "s:17RealityFoundation21PhotogrammetrySessionC7RequestO8GeometryV6bounds9transformAgA11BoundingBoxV_AA9TransformVtcfc"
  },
  "title" : "init(bounds:transform:)"
}
-->

# init(bounds:transform:)

Creates an instance with an optional bounding box and transform.

```
init(bounds: BoundingBox = BoundingBox.empty, transform: Transform = Transform.identity)
```

## Parameters

`bounds`

An optional bounding box to specify the size of the generated 3D model.
If you don’t pass a value, the initializer sets the bounding box to .empty, which tells
RealityKit to calculate the object’s size.

`transform`

An optional [`Transform`](/documentation/RealityKit/Transform) that RealityKit applies to the object after it’s
created. Use this to scale, rotate, or move the object before the session publishes the
[`PhotogrammetrySession.Output.requestComplete(_:_:)`](/documentation/RealityKit/PhotogrammetrySession/Output/requestComplete(_:_:))

---

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)