Chroma:setKey

From GiderosMobile
Revision as of 21:58, 6 November 2024 by MoKaLux (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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