SetLightColor

From MaratisWiki
Revision as of 21:17, 12 March 2013 by TaeZ (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Set light color. Accepts two arguments: Light object and an RGB table.

Example:

Light = getLight("DayNightLight")
-- Set to red
setLightColor(Light, {255, 0, 0})
-- Set to green
setLightColor(Light, {0, 255, 0})
-- Set to cyan
setLightColor(Light, {0, 255, 255})
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox