<!--
{
  "availability" : [
    "Reality Composer Pro: -",
    "macOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "ComputeGraph",
  "identifier" : "/documentation/ComputeGraph/output/setScale",
  "metadataVersion" : "0.1.0",
  "role" : "Function",
  "symbol" : {
    "kind" : "Function",
    "modules" : [
      "Compute Graph"
    ],
    "preciseIdentifier" : "output::setScale"
  },
  "title" : "output::setScale"
}
-->

# output::setScale

Sets the scale factor of the rendered output.

```
void output::setScale(float2 scale)
```

## Parameters

`scale`

The scale factor to apply in X and Y dimensions.

## Discussion

This function applies a scale transformation to the rendered particle output,
allowing independent control of horizontal and vertical scaling. This affects
only the rendered appearance and does not modify the particle itself.

> Visual: ![Graph](output__setScale)

---

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)