SetRed - ColorComponent

From the CreationKit Wiki
Revision as of 04:39, 28 August 2013 by imported>CraftySentinel (Minor Formatting Change)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Source: SKSE 1.06.00

Member of: ColorComponent Script


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

Syntax

int Function SetRed(int argb, int r) global native

Parameters

argb

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

r

The value to set the red component to, should only be set to a value in between 0 and 255

Return Value

The altered ARGB color code.


See Also