GetValue - ColorComponent

Revision as of 05:38, 28 August 2013 by imported>CraftySentinel (Minor Formatting Change)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Source: SKSE 1.06.03

Member of: ColorComponent Script


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

Syntax

float Function GetValue(int argb) global native

Parameters

argb

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

Return Value

The value of the ARGB code, ranges from 0.0 (black) to 1.0 (white).


Notes

  • Value is also known as Luminosity or Brightness.
  • Prior to SKSE 1.6.03, this function was known as GetLuminosity.


See Also