Contents

output::setUVTransform

Sets the UV0 coordinate transformation for the rendered output.

Declaration

void output::setUVTransform(float2 uvOffset, float2 uvScale)

Parameters

  • uvOffset:

    The offset to apply to UV0 coordinates.

  • uvScale:

    The scale factor to apply to UV0 coordinates.

Discussion

This function customizes how texture coordinates are applied to the rendered output by specifying an offset and scale. The UV transform affects texture mapping without modifying the underlying particle data.