<!--
{
  "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/ProjectiveTransform3DFloat/scaledBy(x:y:z:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "Spatial"
    ],
    "preciseIdentifier" : "s:So28SPProjectiveTransform3DFloata7SpatialE8scaledBy1x1y1zABSf_S2ftF"
  },
  "title" : "scaledBy(x:y:z:)"
}
-->

# scaledBy(x:y:z:)

Returns the transform scaled by the specified values.

```
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

- Returns The scaled transform.

---

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)