---
title: "output::setSize"
framework: Compute Graph
role: symbol
role_heading: Function
platforms: [iOS 27.0+, iPadOS 27.0+, macOS 27.0+, tvOS 27.0+, visionOS 27.0+]
path: computegraph/output/setsize
---

# output::setSize

Sets the size of the rendered output.

## Declaration

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

## Parameters

- `size`: The size to apply in X and Y dimensions.

## Discussion

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. note:
