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

# init(_:)

Creates a scaled pose with the specified single-precision 4 x 4 matrix

## Declaration

```swift
init?(_ matrix: simd_float4x4)
```

## Parameters

- `matrix`: The source matrix

## Discussion

Discussion note: This function can’t extract rotation from a non-scale-rotate-translate affine transform. In that case, the function returns nil.  If the specified matrix doesn’t have uniform scale the function returns nil.
