From 0bc2eafe54217dfac5a9c8fb680cd8d173e9f588 Mon Sep 17 00:00:00 2001 From: Felipe Kinoshita Date: Thu, 6 Oct 2022 05:09:54 -0300 Subject: Add descriptions for Node2D's skew and CanvasItem's clip_children --- doc/classes/CanvasItem.xml | 1 + doc/classes/Node2D.xml | 2 ++ 2 files changed, 3 insertions(+) diff --git a/doc/classes/CanvasItem.xml b/doc/classes/CanvasItem.xml index d74f49c897..947e6a3d4c 100644 --- a/doc/classes/CanvasItem.xml +++ b/doc/classes/CanvasItem.xml @@ -536,6 +536,7 @@ + Allows the current node to clip children nodes, essentially acting as a mask. The rendering layers in which this [CanvasItem] responds to [Light2D] nodes. diff --git a/doc/classes/Node2D.xml b/doc/classes/Node2D.xml index a587811260..054ab532af 100644 --- a/doc/classes/Node2D.xml +++ b/doc/classes/Node2D.xml @@ -119,6 +119,8 @@ [b]Note:[/b] Negative X scales in 2D are not decomposable from the transformation matrix. Due to the way scale is represented with transformation matrices in Godot, negative scales on the X axis will be changed to negative scales on the Y axis and a rotation of 180 degrees when decomposed. + Slants the node. + [b]Note:[/b] Skew is X axis only. Local [Transform2D]. -- cgit v1.2.3