Difference between revisions of "love.graphics.setColorMode"

m (1 revision: Imported docs from potato.)
m (Changed template (oldin ->newinoldin).)
 
(9 intermediate revisions by 6 users not shown)
Line 1: Line 1:
 
+
{{newinoldin|[[0.2.0]]|020|[[0.9.0]]|090|type=function}}
 
+
Sets the color mode (which controls how images are affected by the current color).
 
== Function ==
 
== Function ==
 
=== Synopsis ===
 
=== Synopsis ===
Line 12: Line 12:
 
== See Also ==
 
== See Also ==
 
* [[parent::love.graphics]]
 
* [[parent::love.graphics]]
 +
* [[love.graphics.getColorMode]]
 
[[Category:Functions]]
 
[[Category:Functions]]
{{#set:Description=}}
+
{{#set:Description=Sets the color mode (which controls how images are affected by the current color).}}
 +
{{#set:Sub-Category=State}}
 +
{{#set:Since=020}}
 +
{{#set:PrettySince=[[0.2.0]]}}
 +
== Other Languages ==
 +
{{i18n|love.graphics.setColorMode}}

Latest revision as of 17:44, 7 September 2016

Available since LÖVE 0.2.0 and removed in LÖVE 0.9.0
This function is not supported in earlier or later versions.

Sets the color mode (which controls how images are affected by the current color).

Function

Synopsis

love.graphics.setColorMode( mode )

Arguments

ColorMode mode
The color mode to use.

Returns

Nothing.

See Also



Other Languages