GetSaturation - ColorComponent

From the CreationKit Wiki
Jump to navigation Jump to search

Source: SKSE 1.06.00

Member of: ColorComponent Script


Gets the saturation of the specified Alpha-Red-Green-Blue (ARGB) color code.

Syntax

float Function GetSaturation(int argb) global native

Parameters

argb

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

Return Value

The saturation of the ARGB code, ranges from 0.0 (greyscale) to 1.0(saturated).


See Also