Click or drag to resize

VisualServerViewportSetCanvasStacking Method

Sets the stacking order for a viewport's canvas.

layer is the actual canvas layer, while sublayer specifies the stacking order of the canvas among those in the same layer.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public static void ViewportSetCanvasStacking(
	RID viewport,
	RID canvas,
	int layer,
	int sublayer
)

Parameters

viewport
Type: GodotRID

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

canvas
Type: GodotRID

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

layer
Type: SystemInt32

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

sublayer
Type: SystemInt32

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

See Also