Difference between revisions of "Chroma:setKey"

From GiderosMobile
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
 
<languages />
 
<languages />
'''<translate>Available since</translate>:''' Gideros 2020.6<br/>
+
'''<translate>Available since</translate>:''' Gideros 2020.7<br/>
 
'''<translate>Class</translate>:''' [[Special:MyLanguage/chroma|chroma]]<br/>
 
'''<translate>Class</translate>:''' [[Special:MyLanguage/chroma|chroma]]<br/>
 
=== <translate>Description</translate> ===
 
=== <translate>Description</translate> ===

Revision as of 16:02, 2 July 2020


Available since: Gideros 2020.7
Class: chroma

Description

Sets the LED colour for a specific key.

() = Chroma:setKey(keys,colors,flush)

Parameters

keys: (text) Name of they key to set the colour of.
keys: (table) Table of key names to set the colour of.
colours: (number) BGR colour value.
colours: (table) Multiple BGR colour values.
flush: (bool) True to send the colours to the device, default false. optional

Return values