diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2020-10-19 22:41:22 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-19 22:41:22 +0200 |
commit | 2393fb43c352683192a8292a70f00e065412de77 (patch) | |
tree | 089b8b099041fd4d4f6bf5e702de01f805592bfa | |
parent | ff48a6a3bc2a6d69a36ee376850544f757ca2c0a (diff) | |
parent | 2f1d40367acbc78f2d029fa68bdb02ee2626afc2 (diff) |
Merge pull request #42377 from Calinou/doc-surfacetool-vertex-color
Document how to display the vertex color in `SurfaceTool.add_color()`
-rw-r--r-- | doc/classes/SurfaceTool.xml | 1 |
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"> |