Methods
-
set_all_pixel_rgb(value_red, value_green, value_blue)
-
Sets every light to the same value, and automatically refreshes the pixels.
Check out the third party documentation for a more in depth explanation.Parameters:
Name Type Description value_red
Number how bright the red should be, between 0 and 255
value_green
Number how bright the green should be, between 0 and 255
value_blue
Number how bright the blue should be, between 0 and 255
Code Equivalent:
SetAllPixelsRGB( value_red, value_green, value_blue);
-
set_all_pixel_rgb_colour(colour_name)
-
Sets every light to the given colour, and automatically refreshes the pixels.
Check out the third party documentation for a more in depth explanation.Parameters:
Name Type Description colour_name
the colour to set all pixels to
Code Equivalent:
SetAllPixelsRGB(red, green, blue);
-
set_pixel_rgb(dropdown_pixel, value_red, value_green, value_blue)
-
Sets the chosen pixel light to the given colours. All 255 is white, all 0 is off.
Check out the third party documentation for a more in depth explanation.Parameters:
Name Type Description dropdown_pixel
the light to change the colour of
value_red
Number how bright the red should be, between 0 and 255
value_green
Number how bright the green should be, between 0 and 255
value_blue
Number how bright the blue should be, between 0 and 255
Code Equivalent:
SetPixelRGB(dropdown_pixel, value_red, value_green, value_blue);
-
set_pixel_rgb_colour(dropdown_pixel, colour_name)
-
Sets the chosen pixel light to the chosen colour.
Check out the third party documentation for a more in depth explanation.Parameters:
Name Type Description dropdown_pixel
the light to change the colour of
colour_name
the colour to change the light to
Code Equivalent:
SetPixelRGB(dropdown_pixel, red, green, blue);