---
title: "scaledBy(x:y:z:)"
framework: spatial
role: symbol
role_heading: Instance Method
path: "spatial/projectivetransform3dfloat/scaledby(x:y:z:)"
---

# scaledBy(x:y:z:)

Returns the transform scaled by the specified values.

## Declaration

```swift
func scaledBy(x: Float, y: Float, z: Float) -> ProjectiveTransform3DFloat
```

## Parameters

- `x`: The scale factor on the x dimension.
- `y`: The scale factor on the y dimension.
- `z`: The scale factor on the z dimension.

## Discussion

Discussion Returns The scaled transform.
