---
title: "init(bounds:transform:)"
framework: realitykit
role: symbol
role_heading: Initializer
path: "realitykit/photogrammetrysession/request/geometry/init(bounds:transform:)"
---

# init(bounds:transform:)

Creates an instance with an optional bounding box and transform.

## Declaration

```swift
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 doc://com.apple.RealityKit/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 doc://com.apple.RealityKit/documentation/RealityKit/PhotogrammetrySession/Output/requestComplete(_:_:)
