Difference between revisions of "Mesh:hasVertexColors"
(Created page with "{{newin|0.9.0|090|type=function}} Retrieves if the per-vertex colors are used when rendering instead of the constant color (constant color being love.graphics.setColor or...") |
m (moved Geometry:hasVertexColors to Mesh:hasVertexColors) |
(No difference)
|
Revision as of 00:47, 10 October 2013
Available since LÖVE 0.9.0 |
This function is not supported in earlier versions. |
Retrieves if the per-vertex colors are used when rendering instead of the constant color (constant color being love.graphics.setColor or SpriteBatch:setColor)
The per-vertex colors are automatically enabled by default when making a new Geometry or when doing Geometry:setVertex, but only if at least one vertex color is not the default (255,255,255,255).
Function
Synopsis
on = Geometry:hasVertexColors( )
Arguments
None.
Returns
boolean on
- True to use per-vertex coloring.
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