ColorComponent Script: Difference between revisions
Jump to navigation
Jump to search
imported>CraftySentinel mNo edit summary |
imported>CraftySentinel m (Further added information to the description) |
||
| Line 1: | Line 1: | ||
'''Requires:'''SKSE 1.06.03 or above | '''Requires:''' [[:Category:SKSE|SKSE]] 1.06.03 or above | ||
'''Extends:''' None | '''Extends:''' None | ||
| Line 6: | Line 6: | ||
Script for the manipulation of [[ColorForm]] components. | Script for the manipulation of [[ColorForm]] components; added by SKSE in 1.06.02. The ''get'' functions within this script are used by functions of the same name contained within the [[ColorForm Script]], to access the individual color components. | ||
== Global SKSE Member Functions== | == Global SKSE Member Functions== | ||
| Line 19: | Line 20: | ||
|[[GetRed - ColorComponent|Int GetRed(Int)]] | |[[GetRed - ColorComponent|Int GetRed(Int)]] | ||
|Returns the | |Returns the Red component of the [[ColorForm]]. | ||
|- | |- | ||
| Line 31: | Line 32: | ||
|[[GetHue - ColorComponent|Float GetHue(Int)]] | |[[GetHue - ColorComponent|Float GetHue(Int)]] | ||
|Returns the | |Returns the Hue component of the [[ColorForm]]. | ||
|- | |- | ||
Revision as of 08:32, 27 August 2013
Requires: SKSE 1.06.03 or above
Extends: None
Flags: Hidden
Script for the manipulation of ColorForm components; added by SKSE in 1.06.02. The get functions within this script are used by functions of the same name contained within the ColorForm Script, to access the individual color components.
Global SKSE Member Functions
| Function | Description |
|---|---|
| Int GetAlpha(Int) | Returns the Alpha component of the ColorForm. |
| Int GetRed(Int) | Returns the Red component of the ColorForm. |
| Int GetGreen(Int) | Returns the Green component of the ColorForm. |
| Int GetBlue(Int) | Returns the Blue component of the ColorForm. |
| Float GetHue(Int) | Returns the Hue component of the ColorForm. |
| Float GetSaturation(Int) | Returns the Saturation component of the ColorForm. |
| Int SetAlpha(Int, Int) | Sets the Alpha component of the ColorForm. |
| Int SetRed(Int, Int) | Sets the Red component of the ColorForm. |
| Int SetGreen(Int, Int) | Sets the Green component of the ColorForm. |
| Int SetBlue(Int, Int) | Sets the Blue component of the ColorForm. |
| Int SetHue(Int, Float) | Sets the Hue component of the ColorForm. |
| Int SetSaturation(Int, Float) | Sets the Saturation component of the ColorForm. |