瀏覽代碼

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

Clarify that `MultiMesh.set_instance_color()` multiplies vertex colors
Rémi Verschelde 4 年之前
父節點
當前提交
24670c5a6f
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      doc/classes/MultiMesh.xml

+ 1 - 1
doc/classes/MultiMesh.xml

@@ -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>