Click or drag to resize

VisualServerCanvasItemSetMaterial Method

Sets a new material to the CanvasItem.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public static void CanvasItemSetMaterial(
	RID item,
	RID material
)

Parameters

item
Type: GodotRID

[Missing <param name="item"/> documentation for "M:Godot.VisualServer.CanvasItemSetMaterial(Godot.RID,Godot.RID)"]

material
Type: GodotRID

[Missing <param name="material"/> documentation for "M:Godot.VisualServer.CanvasItemSetMaterial(Godot.RID,Godot.RID)"]

See Also