diff options
author | CowThing <CowThing@users.noreply.github.com> | 2016-05-01 17:55:24 -0400 |
---|---|---|
committer | Rémi Verschelde <remi@verschelde.fr> | 2016-05-01 23:55:24 +0200 |
commit | 957c265f11fc5f244e24bb4d5442fedba4e32634 (patch) | |
tree | 33135b8ea663da73af94f64d058be5e0843c4691 | |
parent | 8ceab5ddaf141434cda982a04bdf4a8f4b0b5155 (diff) |
Documented YSort (#4515)
Documented YSort
-rw-r--r-- | doc/base/classes.xml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/base/classes.xml b/doc/base/classes.xml index 9577fb2aa9..774cea50fb 100644 --- a/doc/base/classes.xml +++ b/doc/base/classes.xml @@ -43884,20 +43884,24 @@ This method controls whether the position between two cached points is interpola </class> <class name="YSort" inherits="Node2D" category="Core"> <brief_description> + Sort all child nodes based on their Y positions. </brief_description> <description> + Sort all child nodes based on their Y positions. The child node must inherit from [CanvasItem] for it to be sorted. Nodes that have a higher Y position will be drawn later, so they will appear on top of nodes that have a lower Y position. </description> <methods> <method name="set_sort_enabled"> <argument index="0" name="enabled" type="bool"> </argument> <description> + Set whether the children nodes are sorted or not. (default true) </description> </method> <method name="is_sort_enabled" qualifiers="const"> <return type="bool"> </return> <description> + Returns true if the children nodes are being sorted. </description> </method> </methods> |