Difference between revisions of "ColorForm Script"

224 bytes removed ,  07:33, 2 February 2014
Reverted to List
imported>CraftySentinel
m (Changed param format.)
imported>CraftySentinel
(Reverted to List)
 
Line 1: Line 1:
__NOTOC__ __NOEDITSECTION__
__NOTOC__ __NOEDITSECTION__
'''Source:''' [[:Category:SKSE|SKSE]] 1.05.07
'''Extends:''' [[Form Script]]
'''Extends:''' [[Form Script]]


'''Flags:''' [[Flag Reference|Hidden]]
Script for the manipulation of color base objects.
 


Script for the manipulation of color base objects.


== Definition ==
== Definition ==
Line 17: Line 13:
== SKSE Member Functions ==
== SKSE Member Functions ==


{|class="wikitable" width =100%
:'''Int [[GetColor - ColorForm|GetColor]]()'''
!style="text-align:left;" width=25%|Function
:*Gets the Alpha-Red-Green-Blue (ARGB) color code of the color form.
!style="text-align:left;"|Description
|-


|[[GetColor - ColorForm|Int '''GetColor'''()]]
:'''[[SetColor - ColorForm| SetColor]](Int ''argb'')'''
|Gets the Alpha-Red-Green-Blue (ARGB) color code of the color form.
:*Sets the Color Form's color to the specified ARGB code.
|-


|[[SetColor - ColorForm| '''SetColor'''(Int ''argb'')]]
:'''Int [[GetRed - ColorForm|GetRed]]()'''
|Sets the Color Form's color to the specified ARGB code.
:*Gets the red component value of this color form. (0 to 255)
|-


|[[GetRed - ColorForm|Int '''GetRed'''()]]
:'''Int [[GetGreen - ColorForm|GetGreen]]()'''
|Gets the red component value of this color form. (0 to 255)
:*Gets the green component value of this color form. (0 to 255)
|-


|[[GetGreen - ColorForm|Int '''GetGreen'''()]]
:'''Int [[GetBlue - ColorForm|GetBlue]]()'''
|Gets the green component value of this color form. (0 to 255)
:*Gets the blue component value of this color form. (0 to 255)
|-


|[[GetBlue - ColorForm|Int '''GetBlue'''()]]
:'''Float [[GetHue - ColorForm|GetHue]]()'''
|Gets the blue component value of this color form. (0 to 255)
:*Gets the hue value of this color form.
|-


|[[GetHue - ColorForm|Float '''GetHue'''()]]
:'''Float [[GetSaturation - ColorForm|GetSaturation]]()'''
|Gets the hue value of this color form.
:*Gets the saturation of this color form.  
|-


|[[GetSaturation - ColorForm|Float '''GetSaturation'''()]]
:'''Float [[GetValue - ColorForm|GetValue]]()'''
|Gets the saturation of this color form.  
:*Gets the value (Brightness) of this color form.
|-


|[[GetValue - ColorForm|Float '''GetValue'''()]]
|Gets the value (Brightness) of this color form.
|-
|}


== Notes ==
== Notes ==