summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorHugo Locurcio <hugo.locurcio@hugo.pro>2020-09-28 00:45:12 +0200
committerHugo Locurcio <hugo.locurcio@hugo.pro>2020-10-19 15:23:16 +0200
commit2f1d40367acbc78f2d029fa68bdb02ee2626afc2 (patch)
tree64fd95bb3251db88978fb910cbe5f1f0a9f79db2 /doc
parent6b208599848d4e32cf198ce707519fcd7b326b0f (diff)
Document how to display the vertex color in `SurfaceTool.add_color()`
This closes https://github.com/godotengine/godot-docs/issues/4083.
Diffstat (limited to 'doc')
-rw-r--r--doc/classes/SurfaceTool.xml1
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/classes/SurfaceTool.xml b/doc/classes/SurfaceTool.xml
index 385e31ccc7..4f02cd00dd 100644
--- a/doc/classes/SurfaceTool.xml
+++ b/doc/classes/SurfaceTool.xml
@@ -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">