GetValue - ColorComponent

From the CreationKit Wiki
Jump to navigation Jump to search

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