---
title: "init(forward:up:)"
framework: spatial
role: symbol
role_heading: Initializer
path: "spatial/pose3dfloat/init(forward:up:)"
---

# init(forward:up:)

Creates a pose with the specified forward and up vectors.

## Declaration

```swift
init(forward: Vector3DFloat, up: Vector3DFloat = Vector3DFloat(x: 0, y: 1, z: 0))
```

## Parameters

- `forward`: The forward direction.
- `up`: The up direction.

## Discussion

Discussion note: This function creates a pose where +z is forward.
