---
title: "init(transform:)"
framework: spatial
role: symbol
role_heading: Initializer
path: "spatial/scaledpose3dfloat/init(transform:)-xeog"
---

# init(transform:)

Creates a pose with with a position, rotation, and scale that are defined by a projective transform.

## Declaration

```swift
init?(transform: ProjectiveTransform3DFloat)
```

## Parameters

- `transform`: The source transform. The function only considers the transform’s rotation and translation components.

## Return Value

Return Value A pose with a position, rotation, and scale that are defined by a projective transform.

## 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  ProjectiveTransform3DFloat doesn’t have uniform scale, the function returns nil.
