Difference between revisions of "ColorForm Script"
Jump to navigation
Jump to search
imported>CraftySentinel m (Minor Formatting Change) |
imported>CraftySentinel m (Changed param format.) |
||
Line 26: | Line 26: | ||
|- | |- | ||
|[[SetColor - ColorForm| '''SetColor'''('' | |[[SetColor - ColorForm| '''SetColor'''(Int ''argb'')]] | ||
|Sets the Color Form's color to the specified ARGB code. | |Sets the Color Form's color to the specified ARGB code. | ||
|- | |- |
Revision as of 22:57, 4 September 2013
Source: SKSE 1.05.07
Extends: Form Script
Flags: Hidden
Script for the manipulation of color base objects.
Definition
ScriptName ColorForm extends Form Hidden
SKSE Member Functions
Function | Description |
---|---|
Int GetColor() | Gets the Alpha-Red-Green-Blue (ARGB) color code of the color form. |
SetColor(Int argb) | Sets the Color Form's color to the specified ARGB code. |
Int GetRed() | Gets the red component value of this color form. (0 to 255) |
Int GetGreen() | Gets the green component value of this color form. (0 to 255) |
Int GetBlue() | Gets the blue component value of this color form. (0 to 255) |
Float GetHue() | Gets the hue value of this color form. |
Float GetSaturation() | Gets the saturation of this color form. |
Float GetValue() | Gets the value (Brightness) of this color form. |
Notes
- Creation Kit does not recognise ColorForm as a valid type, to link Color Forms via Properties a FormList must be used.
- In SKSE 1.06.00 the script was modified to use the newly created ColorComponent Script functions instead of native functions, GetColor was also added.
- SKSE 1.06.03 added SetColor and changed GetLuminosity to GetValue.