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

# output::setSize

Sets the size of the rendered output.

```
void output::setSize(float2 size)
```

## Parameters

`size`

The size to apply in X and Y dimensions.

## Discussion

This function directly sets the dimensions of the rendered particle output in
world or screen space units. This affects only the rendered appearance and
does not modify the particle itself.

> Visual: ![Graph](output__setSize)

---

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)