SetValue - ColorComponent

From the CreationKit Wiki
Jump to navigation Jump to search

Source: SKSE 1.06.03

Member of: ColorComponent Script


Sets the value (Brightness) of the specified Alpha-Red-Green-Blue (ARGB) color code to the specified value.

Syntax

float Function SetValue(int argb, float v) global native

Parameters

argb

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

v

The value to set value to, with 0.0 representing black and 1.0 representing white.

Return Value

The altered ARGB color code.


Notes

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


See Also