Canvas drawing layer.
Canvas drawing layer. [CanvasItem] nodes that are direct or indirect children of a [code]CanvasLayer[/code] will be drawn in that layer. The layer is a numeric index that defines the draw order. The default 2D scene renders with index 0, so a [code]CanvasLayer[/code] with index -1 will be drawn below, and one with index 1 will be drawn above. This is very useful for HUDs (in layer 1+ or above), or backgrounds (in layer -1 or below).
https://docs.godotengine.org/en/3.1/tutorials/2d/2d_transforms.html
https://docs.godotengine.org/en/3.1/tutorials/2d/canvas_layers.html
Returns the RID of the canvas used by this layer.
The custom [Viewport] node assigned to the [code]CanvasLayer[/code]. If null, uses the default viewport instead.
Layer index for draw order. Lower values are drawn first. Default value: [code]1[/code].
The layer's base offset.
The layer's rotation in radians.
The layer's rotation in degrees.
The layer's scale.
The layer's transform.