Click or drag to resize

VisualServerMultimeshInstanceSetCustomData Method

Sets the custom data for this instance. Custom data is passed as a Color, but is interpreted as a vec4 in the shader. Equivalent to SetInstanceCustomData(Int32, Color).

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public static void MultimeshInstanceSetCustomData(
	RID multimesh,
	int index,
	Color customData
)

Parameters

multimesh
Type: GodotRID

[Missing <param name="multimesh"/> documentation for "M:Godot.VisualServer.MultimeshInstanceSetCustomData(Godot.RID,System.Int32,Godot.Color)"]

index
Type: SystemInt32

[Missing <param name="index"/> documentation for "M:Godot.VisualServer.MultimeshInstanceSetCustomData(Godot.RID,System.Int32,Godot.Color)"]

customData
Type: GodotColor

[Missing <param name="customData"/> documentation for "M:Godot.VisualServer.MultimeshInstanceSetCustomData(Godot.RID,System.Int32,Godot.Color)"]

See Also