<!--
{
  "availability" : [
    "iOS: 16.0.0 -",
    "iPadOS: 16.0.0 -",
    "macCatalyst: -",
    "macOS: 13.0.0 -",
    "tvOS: 16.0.0 -",
    "visionOS: -",
    "watchOS: 9.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Spatial",
  "identifier" : "/documentation/Spatial/ProjectiveTransform3D/init(scale:rotation:translation:)-4h5wm",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "Spatial"
    ],
    "preciseIdentifier" : "s:So23SPProjectiveTransform3Da7SpatialE5scale8rotation11translationABSo8SPSize3Da_So12SPRotation3DaSo10SPVector3Datcfc"
  },
  "title" : "init(scale:rotation:translation:)"
}
-->

# init(scale:rotation:translation:)

Creates a projective transform from the specified scale, rotate, and translate transforms.

```
init(scale: Size3D = Size3D(width: 1.0, height: 1, depth: 1), rotation: Rotation3D = .zero, translation: Vector3D = .zero)
```

## Parameters

`scale`

A size structure that specifies the scale.

`rotation`

A rotation structure that specifies the rotation.

`translation`

A vector that specifies the translation.

---

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)