Contents

output::setColor

Sets the color of the rendered output.

Declaration

void output::setColor(half4 color)

Parameters

  • color:

    The RGBA color value to apply, using half-precision components.

Discussion

This function customizes the color applied to the rendered particle output, including the alpha channel. This affects only the rendered appearance and does not modify the particle itself.