SetSaturation - ColorComponent

From the CreationKit Wiki
Jump to navigation Jump to search

Source: SKSE 1.06.00

Member of: ColorComponent Script


Sets the saturation of the specified Alpha-Red-Green-Blue (ARGB) color code to the specified value.

Syntax

float Function SetSaturation(int argb, float s) global native

Parameters

argb

The ARGB color code to set the saturation of, expressed as an integer.

s

The value to set the saturation to, with 0.0 being greyscale and 1.0 being saturated.

Return Value

The altered ARGB color code.


See Also