This function applies a global transformation to the whole 2D world (offset, scale, rotation).
Note: in Godot 3 it is also available as a Viewport
property named canvas_transform
.
However, you might not need to use it, because that transform does the same job as a Camera2D
node, except the latter is more intuitive.