Document how to display the vertex color in SurfaceTool.add_color()
This closes https://github.com/godotengine/godot-docs/issues/4083.
(cherry picked from commit 2f1d40367a
)
This commit is contained in:
parent
5c129c7a05
commit
a5f98e915c
@ -38,6 +38,7 @@
|
|||||||
</argument>
|
</argument>
|
||||||
<description>
|
<description>
|
||||||
Specifies a [Color] for the next vertex to use.
|
Specifies a [Color] for the next vertex to use.
|
||||||
|
[b]Note:[/b] The material must have [member SpatialMaterial.vertex_color_use_as_albedo] enabled for the vertex color to be visible.
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
<method name="add_index">
|
<method name="add_index">
|
||||||
|
Loading…
Reference in New Issue
Block a user