Difference between revisions of "ColorComponent Script"
m
Moved Information around and added alittle more
imported>CraftySentinel m (Further added information to the description) |
imported>CraftySentinel m (Moved Information around and added alittle more) |
||
Line 6: | Line 6: | ||
Script for the manipulation of [[ColorForm]] | Script for the manipulation of [[ColorForm]] components. | ||
Line 37: | Line 37: | ||
|[[GetSaturation - ColorComponent|Float GetSaturation(Int)]] | |[[GetSaturation - ColorComponent|Float GetSaturation(Int)]] | ||
|Returns the Saturation component of the [[ColorForm]]. | |Returns the Saturation component of the [[ColorForm]]. | ||
|- | |||
|[[GetValue - ColorComponent|Float GetValue(Int)]] | |||
|Returns the Luminosity component of the [[ColorForm]]. | |||
|- | |- | ||
Line 62: | Line 66: | ||
|Sets the Saturation component of the [[ColorForm]]. | |Sets the Saturation component of the [[ColorForm]]. | ||
|- | |- | ||
|[[SetValue - ColorComponent|Int SetValue(Int, Float)]] | |||
|Sets the Luminosity component of the [[ColorForm]]. | |||
|} | |} | ||
== Further Information == | |||
The bulk of the functions were added by SKSE in 1.06.00, however GetAlpha and SetAlpha were added in 1.06.02, while GetValue and SetValue were added in 1.06.03 also GetLuminosity and SetLuminosity were changed to GetValue, SetValue. The get functions (Excluding GetAlpha)within this script are used by functions of the same name contained within [[ColorForm Script]], to access the individual color components of a [[ColorForm]]'s ARGB. | |||
==See Also == | |||
*[[ColorForm Script]] | |||
*[[ColorForm]] | |||
[[Category:Papyrus]] | [[Category:Papyrus]] | ||
[[Category:SKSE]] | [[Category:SKSE]] | ||
[[Category:SKSE Script Objects]] | [[Category:SKSE Script Objects]] |