summaryrefslogtreecommitdiff
path: root/doc/classes/Polygon2D.xml
diff options
context:
space:
mode:
authorTomasz Chabora <kobewi4e@gmail.com>2020-03-03 19:21:21 +0100
committerTomasz Chabora <kobewi4e@gmail.com>2020-03-13 16:35:03 +0100
commite103f21a40ef157cd263b60cf0d9c5750156ec98 (patch)
tree10f6a918c5182c0556d4f6963c5ed08ad31e6302 /doc/classes/Polygon2D.xml
parent951ecc4f79a760160bdc7adc3b0b40e9e4c6b82d (diff)
Add LOTS of missing docs
Diffstat (limited to 'doc/classes/Polygon2D.xml')
-rw-r--r--doc/classes/Polygon2D.xml8
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/classes/Polygon2D.xml b/doc/classes/Polygon2D.xml
index f777545733..13332ca4f0 100644
--- a/doc/classes/Polygon2D.xml
+++ b/doc/classes/Polygon2D.xml
@@ -17,12 +17,14 @@
<argument index="1" name="weights" type="PackedFloat32Array">
</argument>
<description>
+ Adds a bone with the specified [code]path[/code] and [code]weights[/code].
</description>
</method>
<method name="clear_bones">
<return type="void">
</return>
<description>
+ Removes all bones from this [Polygon2D].
</description>
</method>
<method name="erase_bone">
@@ -31,12 +33,14 @@
<argument index="0" name="index" type="int">
</argument>
<description>
+ Removes the specified bone from this [Polygon2D].
</description>
</method>
<method name="get_bone_count" qualifiers="const">
<return type="int">
</return>
<description>
+ Returns the number of bones in this [Polygon2D].
</description>
</method>
<method name="get_bone_path" qualifiers="const">
@@ -45,6 +49,7 @@
<argument index="0" name="index" type="int">
</argument>
<description>
+ Returns the path to the node associated with the specified bone.
</description>
</method>
<method name="get_bone_weights" qualifiers="const">
@@ -53,6 +58,7 @@
<argument index="0" name="index" type="int">
</argument>
<description>
+ Returns the height values of the specified bone.
</description>
</method>
<method name="set_bone_path">
@@ -63,6 +69,7 @@
<argument index="1" name="path" type="NodePath">
</argument>
<description>
+ Sets the path to the node associated with the specified bone.
</description>
</method>
<method name="set_bone_weights">
@@ -73,6 +80,7 @@
<argument index="1" name="weights" type="PackedFloat32Array">
</argument>
<description>
+ Sets the weight values for the specified bone.
</description>
</method>
</methods>