Difference between revisions of "Mesh:setVertexColors"
(Geometry:setVertexColors -> Mesh:setVertexColors) |
m |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
− | {{ | + | {{newinoldin|[[0.9.0]]|090|[[0.10.0]]|100|type=function|text=It has been replaced by [[Mesh:setAttributeEnabled]]("VertexColor", enable)}} |
Sets whether per-vertex colors are used instead of the constant color when drawing the Mesh (constant color being [[love.graphics.setColor]].) | Sets whether per-vertex colors are used instead of the constant color when drawing the Mesh (constant color being [[love.graphics.setColor]].) | ||
Latest revision as of 16:32, 27 December 2015
Available since LÖVE 0.9.0 and removed in LÖVE 0.10.0 |
It has been replaced by Mesh:setAttributeEnabled("VertexColor", enable). |
Sets whether per-vertex colors are used instead of the constant color when drawing the Mesh (constant color being love.graphics.setColor.)
Per-vertex colors are enabled by default for a Mesh if at least one vertex color was not the default (255, 255, 255, 255) when the Mesh was created.
Function
Synopsis
Mesh:setVertexColors( on )
Arguments
boolean on
- True to use per-vertex coloring, otherwise love.graphics.setColor is used when drawing.
Returns
Nothing.
See Also
Other Languages
Dansk –
Deutsch –
English –
Español –
Français –
Indonesia –
Italiano –
Lietuviškai –
Magyar –
Nederlands –
Polski –
Português –
Română –
Slovenský –
Suomi –
Svenska –
Türkçe –
Česky –
Ελληνικά –
Български –
Русский –
Српски –
Українська –
עברית –
ไทย –
日本語 –
正體中文 –
简体中文 –
Tiếng Việt –
한국어
More info