Explorar o código

Merge pull request #26334 from rcorre/fix_multimesh_docs

Clarify how to use MultiMesh.set_instance_color.
Rémi Verschelde %!s(int64=6) %!d(string=hai) anos
pai
achega
8889089c1b
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      doc/classes/MultiMesh.xml

+ 1 - 0
doc/classes/MultiMesh.xml

@@ -65,6 +65,7 @@
 			</argument>
 			<description>
 				Set the color of a specific instance.
+				For the color to take effect, ensure that [member color_format] is non-[code]null[/code] on the [code]MultiMesh[/code] and [member SpatialMaterial.vertex_color_use_as_albedo] is [code]true[/code] on the material.
 			</description>
 		</method>
 		<method name="set_instance_custom_data">