Difference between revisions of "Chroma:setKey"
From GiderosMobile
m (Anthony moved page Chroma.setKey to Chroma:setKey without leaving a redirect) |
|||
Line 6: | Line 6: | ||
<translate>Sets the LED colour for a specific key.</translate> | <translate>Sets the LED colour for a specific key.</translate> | ||
<source lang="lua"> | <source lang="lua"> | ||
− | () = | + | () = Chroma:setKey(keys,colors,flush) |
</source> | </source> | ||
=== <translate>Parameters</translate> === | === <translate>Parameters</translate> === |
Revision as of 14:23, 27 June 2020
Available since: Gideros 2020.6
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