1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-16 14:00:40 +00:00

Merge pull request #42812 from Calinou/doc-multimesh-set-instance-color

Clarify that `MultiMesh.set_instance_color()` multiplies vertex colors
This commit is contained in:
Rémi Verschelde
2020-10-15 10:55:26 +02:00
committed by GitHub

View File

@@ -65,7 +65,7 @@
<argument index="1" name="color" type="Color">
</argument>
<description>
Sets the color of a specific instance.
Sets the color of a specific instance by [i]multiplying[/i] the mesh's existing vertex colors.
For the color to take effect, ensure that [member use_colors] is [code]true[/code] on the [MultiMesh] and [member BaseMaterial3D.vertex_color_use_as_albedo] is [code]true[/code] on the material.
</description>
</method>