Click or drag to resize

VisualServerCanvasItemCreate Method

Creates a new CanvasItem and returns its RID. It can be accessed with the RID that is returned. This RID will be used in all canvas_item_* VisualServer functions.

Once finished with your RID, you will want to free the RID using the VisualServer's FreeRid(RID) static method.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public static RID CanvasItemCreate()

Return Value

Type: RID

[Missing <returns> documentation for "M:Godot.VisualServer.CanvasItemCreate"]

See Also