SetAlpha - ColorComponent

From the CreationKit Wiki
Jump to navigation Jump to search

Source: SKSE 1.06.02

Member of: ColorComponent Script


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

Syntax

int Function SetAlpha(int argb, int a) global native

Parameters

argb

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

a

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

Return Value

The altered ARGB color code.


See Also