Clarify that MultiMesh.set_instance_color() multiplies vertex colors

This closes https://github.com/godotengine/godot-docs/issues/4273.

(cherry picked from commit 6975bd106a)
This commit is contained in:
Hugo Locurcio 2020-10-15 10:19:20 +02:00 committed by Rémi Verschelde
parent aea87e9353
commit 8c6a5b06a2
No known key found for this signature in database
GPG key ID: C3336907360768E1

View file

@ -76,7 +76,7 @@
<argument index="1" name="color" type="Color"> <argument index="1" name="color" type="Color">
</argument> </argument>
<description> <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 color_format] is non-[code]null[/code] on the [MultiMesh] and [member SpatialMaterial.vertex_color_use_as_albedo] is [code]true[/code] on the material. For the color to take effect, ensure that [member color_format] is non-[code]null[/code] on the [MultiMesh] and [member SpatialMaterial.vertex_color_use_as_albedo] is [code]true[/code] on the material.
</description> </description>
</method> </method>