Click or drag to resize

VisualServerCanvasItemAddMesh Method

Adds a mesh command to the CanvasItem's draw commands.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public static void CanvasItemAddMesh(
	RID item,
	RID mesh,
	Transform2D? transform = null,
	Color? modulate = null,
	RID texture = null,
	RID normalMap = null
)

Parameters

item
Type: GodotRID

[Missing <param name="item"/> documentation for "M:Godot.VisualServer.CanvasItemAddMesh(Godot.RID,Godot.RID,System.Nullable{Godot.Transform2D},System.Nullable{Godot.Color},Godot.RID,Godot.RID)"]

mesh
Type: GodotRID

[Missing <param name="mesh"/> documentation for "M:Godot.VisualServer.CanvasItemAddMesh(Godot.RID,Godot.RID,System.Nullable{Godot.Transform2D},System.Nullable{Godot.Color},Godot.RID,Godot.RID)"]

transform (Optional)
Type: SystemNullableTransform2D
If the parameter is null, then the default value is Transform2D.Identity
modulate (Optional)
Type: SystemNullableColor
If the parameter is null, then the default value is new Color(1, 1, 1, 1)
texture (Optional)
Type: GodotRID

[Missing <param name="texture"/> documentation for "M:Godot.VisualServer.CanvasItemAddMesh(Godot.RID,Godot.RID,System.Nullable{Godot.Transform2D},System.Nullable{Godot.Color},Godot.RID,Godot.RID)"]

normalMap (Optional)
Type: GodotRID

[Missing <param name="normalMap"/> documentation for "M:Godot.VisualServer.CanvasItemAddMesh(Godot.RID,Godot.RID,System.Nullable{Godot.Transform2D},System.Nullable{Godot.Color},Godot.RID,Godot.RID)"]

See Also