<!--
{
  "availability" : [
    "iOS: 26.0.0 -",
    "iPadOS: 26.0.0 -",
    "macCatalyst: 26.0.0 -",
    "macOS: 26.0.0 -",
    "tvOS: 26.0.0 -",
    "visionOS: 26.0.0 -",
    "watchOS: 26.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Spatial",
  "identifier" : "/documentation/Spatial/Rect3DFloat/init(origin:size:)-8tqau",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "Spatial"
    ],
    "preciseIdentifier" : "c:@F@SPRect3DFloatMakeAtOrigin#$@UA@SPPoint3DFloat#$@UA@SPSize3DFloat#"
  },
  "title" : "init(origin:size:)"
}
-->

# init(origin:size:)

```
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

A new rectangle stucture.

## Discussion\abstract Returns a rectangle at the specified origin.

---

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)