---
title: "init(x:y:z:)"
framework: spatial
role: symbol
role_heading: Initializer
path: "spatial/vector3dfloat/init(x:y:z:)-1h79g"
---

# init(x:y:z:)

Returns a new vector from the doubleing-point values.

## Declaration

```swift
init<T>(x: T, y: T, z: T) where T : BinaryFloatingPoint
```

## Discussion

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