GetSaturation - ColorComponent

From the CreationKit Wiki
Revision as of 00:04, 28 August 2013 by imported>CraftySentinel (Created GetSaturation - ColorComponent)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Requires: SKSE 1.06.00 or above.

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