---
title: "init(position:target:scale:up:)"
framework: spatial
role: symbol
role_heading: Initializer
path: "spatial/scaledpose3dfloat/init(position:target:scale:up:)"
---

# init(position:target:scale:up:)

Creates a scaled pose at the specified position that’s oriented towards a look at target.

## Declaration

```swift
init(position: Point3DFloat = .zero, target: Point3DFloat, scale: Float = 1, up: Vector3DFloat = Vector3DFloat(x: 0, y: 1, z: 0))
```

## Parameters

- `position`: The position of the scaled pose.
- `target`: The point that the scaled pose looks at.
- `scale`: The uniform scale of the scaled pose.
- `up`: The up direction.

## Discussion

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