{{newinoldin|[[0.9.0]]|090|[[0.10.0]]|100|type=function|text=It has been replaced by [[Mesh:isAttributeEnabled]]("VertexColor")}}
Gets 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 [[love.graphics.newMesh|created]].
== 関数 ==
=== 概要 ===
<source lang="lua">
vertexcolors = Mesh:hasVertexColors( )
</source>
=== 引数 ===
なし。
=== 返値 ===
{{param (日本語)|boolean|vertexcolors|True if per-vertex coloring is used, otherwise [[love.graphics.setColor]] is used when drawing the Mesh.}}
== 関連 ==
* [[parent::Mesh (日本語)]]
* [[Mesh:setVertexColors (日本語)]]
* [[love.graphics.newMesh (日本語)]]
[[Category:Functions (日本語)]]
{{#set:Description=Gets whether per-vertex colors are used when drawing the Mesh.}}
== そのほかの言語 ==
{{i18n (日本語)|Mesh:hasVertexColors}}