GetValue - ColorComponent

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

Requires: SKSE 1.06.03 or above.

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