<!--
{
  "availability" : [
    "iOS: 26.0.0 -",
    "iPadOS: 26.0.0 -",
    "macCatalyst: -",
    "macOS: 26.0.0 -",
    "tvOS: 26.0.0 -",
    "visionOS: 26.0.0 -",
    "watchOS: 26.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Spatial",
  "identifier" : "/documentation/Spatial/Size3DFloat/init(width:height:depth:)-8h26f",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "Spatial"
    ],
    "preciseIdentifier" : "s:So13SPSize3DFloata7SpatialE5width6height5depthABx_xxtcSBRzlufc"
  },
  "title" : "init(width:height:depth:)"
}
-->

# init(width:height:depth:)

Returns a new point from the floating-point values.

```
init<T>(width: T, height: T, depth: T) where T : BinaryFloatingPoint
```

## Discussion> note: This function is provided as a convenience. All Spatial storage and calculations are single-precision.

---

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)