Add descriptions for Node2D's skew and CanvasItem's clip_children

This commit is contained in:
Felipe Kinoshita 2022-10-06 05:09:54 -03:00
parent ea9bb98f26
commit 0bc2eafe54
2 changed files with 3 additions and 0 deletions

View file

@ -536,6 +536,7 @@
</methods>
<members>
<member name="clip_children" type="bool" setter="set_clip_children" getter="is_clipping_children" default="false">
Allows the current node to clip children nodes, essentially acting as a mask.
</member>
<member name="light_mask" type="int" setter="set_light_mask" getter="get_light_mask" default="1">
The rendering layers in which this [CanvasItem] responds to [Light2D] nodes.

View file

@ -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.
</member>
<member name="skew" type="float" setter="set_skew" getter="get_skew" default="0.0">
Slants the node.
[b]Note:[/b] Skew is X axis only.
</member>
<member name="transform" type="Transform2D" setter="set_transform" getter="get_transform">
Local [Transform2D].