---
title: "init(_:)"
framework: spatial
role: symbol
role_heading: Initializer
path: "spatial/vector3dfloat/init(_:)-4svr4"
---

# init(_:)

Creates a new vector structure that contains the spherical coordinates converted to Cartesian coordinates.

## Declaration

```swift
init(_ coords: SphericalCoordinates3DFloat)
```

## Parameters

- `coords`: The spherical coordinates.
