---
title: "init(_:)"
framework: spatial
role: symbol
role_heading: Initializer
path: "spatial/vector3d/init(_:)-3br9h"
---

# init(_:)

Creates a vector from the specified Spatial rotation axis.

## Declaration

```swift
init(_ axis: RotationAxis3D)
```

## Parameters

- `axis`: A rotation axis that specifies the element values.

## See Also

### Creating a vector

- [init()](spatial/vector3d/init().md)
- [init(x:y:z:)](spatial/vector3d/init(x:y:z:)-2ejxw.md)
- [init(x:y:z:)](spatial/vector3d/init(x:y:z:)-29hwg.md)
- [init(_:)](spatial/vector3d/init(_:)-73gdm.md)
- [init(_:)](spatial/vector3d/init(_:)-1a9i3.md)
- [init(vector:)](spatial/vector3d/init(vector:).md)
- [init(_:)](spatial/vector3d/init(_:)-8vcph.md)
- [init(_:)](spatial/vector3d/init(_:)-8egfs.md)
- [init(_:)](spatial/vector3d/init(_:)-9ker1.md)
