---
title: "output::setUV4"
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/setuv4
---

# output::setUV4

Sets the fourth UV coordinate set for the rendered output mesh.

## Declaration

```swift
void output::setUV4(float4 value)
```

## Parameters

- `value`: The UV coordinate value to assign to all vertices in the output range.

## Discussion

Discussion This function assigns a custom UV coordinate to the fourth texture coordinate channel of the output mesh. If the mesh doesn’t already have a UV4 channel, it will be created. This enables multi-texturing and advanced shader effects. note:  note: Reads and writes to output attribute float4 uv4
