Click or drag to resize

MultiMeshSetInstanceColor Method

Sets the color of a specific instance by multiplying the mesh's existing vertex colors.

For the color to take effect, ensure that ColorFormat is non-null on the MultiMesh and VertexColorUseAsAlbedo is true on the material.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public void SetInstanceColor(
	int instance,
	Color color
)

Parameters

instance
Type: SystemInt32

[Missing <param name="instance"/> documentation for "M:Godot.MultiMesh.SetInstanceColor(System.Int32,Godot.Color)"]

color
Type: GodotColor

[Missing <param name="color"/> documentation for "M:Godot.MultiMesh.SetInstanceColor(System.Int32,Godot.Color)"]

See Also