Document how to display the vertex color in SurfaceTool.add_color()

This closes https://github.com/godotengine/godot-docs/issues/4083.
This commit is contained in:
Hugo Locurcio 2020-09-28 00:45:12 +02:00
parent 6b20859984
commit 2f1d40367a
No known key found for this signature in database
GPG key ID: 39E8F8BE30B0A49C

View file

@ -38,6 +38,7 @@
</argument>
<description>
Specifies a [Color] for the next vertex to use.
[b]Note:[/b] The material must have [member BaseMaterial3D.vertex_color_use_as_albedo] enabled for the vertex color to be visible.
</description>
</method>
<method name="add_index">