<!--
{
  "availability" : [
    "iOS: 26.0.0 -",
    "iPadOS: 26.0.0 -",
    "macCatalyst: -",
    "macOS: 26.0.0 -",
    "tvOS: 26.0.0 -",
    "visionOS: 26.0.0 -",
    "watchOS: 26.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Spatial",
  "identifier" : "/documentation/Spatial/Pose3DFloat/init(transform:)-94kwr",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "Spatial"
    ],
    "preciseIdentifier" : "s:So13SPPose3DFloata7SpatialE9transformABSgSo022SPProjectiveTransform3B0a_tcfc"
  },
  "title" : "init(transform:)"
}
-->

# init(transform:)

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

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

## Parameters

`transform`

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

## Return Value

A pose with a position and rotation that are defined by a projective transform.

## Discussion> note: This function can’t extract rotation from a non-scale-rotate-translate affine transform. In that case,
> the function returns `nil`.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)