SetValue - ColorComponent

From the CreationKit Wiki
Revision as of 01:43, 28 August 2013 by imported>CraftySentinel (Created SetValue - 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


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