---
title: "init(origin:size:)"
framework: spatial
role: symbol
role_heading: Initializer
path: "spatial/rect3dfloat/init(origin:size:)-8tqau"
---

# init(origin:size:)

## Declaration

```swift
init(origin: Point3DFloat, size: Size3DFloat)
```

## Parameters

- `origin`: A point structure that specifies the origin of the rectangle.
- `size`: A size structure that specifies the size of the rectangle.

## Return Value

Return Value A new rectangle stucture.

## Discussion

Discussion Returns a rectangle at the specified origin.
