---
title: "init(scale:rotation:translation:)"
framework: spatial
role: symbol
role_heading: Initializer
path: "spatial/projectivetransform3d/init(scale:rotation:translation:)-8qxxq"
---

# init(scale:rotation:translation:)

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

## Declaration

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

## Parameters

- `scale`: A size structure that specifies the scale.
- `rotation`: A rotation structure that specifies the rotation.
- `translation`: A size structure that specifies the translation.

## See Also

### Deprecated symbols

- [offset](spatial/projectivetransform3d/offset.md)
- [scale](spatial/projectivetransform3d/scale.md)
- [inverted()](spatial/projectivetransform3d/inverted().md)
- [init(matrix:)](spatial/projectivetransform3d/init(matrix:)-zfb.md)
- [init(fovyRadians:aspectRatio:nearZ:farZ:reverseZ:)](spatial/projectivetransform3d/init(fovyradians:aspectratio:nearz:farz:reversez:).md)
- [init(translation:)](spatial/projectivetransform3d/init(translation:).md)
- [init(fovyRadians:aspectRatio:nearZ:farZ:)](spatial/projectivetransform3d/init(fovyradians:aspectratio:nearz:farz:).md)
