summaryrefslogtreecommitdiff
path: root/doc/classes/SkeletonModification2DTwoBoneIK.xml
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2021-07-30 15:28:05 +0200
committerRémi Verschelde <rverschelde@gmail.com>2021-07-30 15:29:52 +0200
commit7adf4cc9b5de6701a41e27690a69b9892d5eed85 (patch)
tree0019e6d1b7cd993b81d5bba268074cfc4e10a213 /doc/classes/SkeletonModification2DTwoBoneIK.xml
parenta1c19b9a1e53f78c75c13cb418270db80057b21a (diff)
doc: Use self-closing tags for `return` and `argument`
For the time being we don't support writing a description for those, preferring having all details in the method's description. Using self-closing tags saves half the lines, and prevents contributors from thinking that they should write the argument or return documentation there.
Diffstat (limited to 'doc/classes/SkeletonModification2DTwoBoneIK.xml')
-rw-r--r--doc/classes/SkeletonModification2DTwoBoneIK.xml36
1 files changed, 12 insertions, 24 deletions
diff --git a/doc/classes/SkeletonModification2DTwoBoneIK.xml b/doc/classes/SkeletonModification2DTwoBoneIK.xml
index 0eecfa635c..25ee981d5d 100644
--- a/doc/classes/SkeletonModification2DTwoBoneIK.xml
+++ b/doc/classes/SkeletonModification2DTwoBoneIK.xml
@@ -11,65 +11,53 @@
</tutorials>
<methods>
<method name="get_joint_one_bone2d_node" qualifiers="const">
- <return type="NodePath">
- </return>
+ <return type="NodePath" />
<description>
Returns the [Bone2D] node that is being used as the first bone in the TwoBoneIK modification.
</description>
</method>
<method name="get_joint_one_bone_idx" qualifiers="const">
- <return type="int">
- </return>
+ <return type="int" />
<description>
Returns the index of the [Bone2D] node that is being used as the first bone in the TwoBoneIK modification.
</description>
</method>
<method name="get_joint_two_bone2d_node" qualifiers="const">
- <return type="NodePath">
- </return>
+ <return type="NodePath" />
<description>
Returns the [Bone2D] node that is being used as the second bone in the TwoBoneIK modification.
</description>
</method>
<method name="get_joint_two_bone_idx" qualifiers="const">
- <return type="int">
- </return>
+ <return type="int" />
<description>
Returns the index of the [Bone2D] node that is being used as the second bone in the TwoBoneIK modification.
</description>
</method>
<method name="set_joint_one_bone2d_node">
- <return type="void">
- </return>
- <argument index="0" name="bone2d_node" type="NodePath">
- </argument>
+ <return type="void" />
+ <argument index="0" name="bone2d_node" type="NodePath" />
<description>
Sets the [Bone2D] node that is being used as the first bone in the TwoBoneIK modification.
</description>
</method>
<method name="set_joint_one_bone_idx">
- <return type="void">
- </return>
- <argument index="0" name="bone_idx" type="int">
- </argument>
+ <return type="void" />
+ <argument index="0" name="bone_idx" type="int" />
<description>
Sets the index of the [Bone2D] node that is being used as the first bone in the TwoBoneIK modification.
</description>
</method>
<method name="set_joint_two_bone2d_node">
- <return type="void">
- </return>
- <argument index="0" name="bone2d_node" type="NodePath">
- </argument>
+ <return type="void" />
+ <argument index="0" name="bone2d_node" type="NodePath" />
<description>
Sets the [Bone2D] node that is being used as the second bone in the TwoBoneIK modification.
</description>
</method>
<method name="set_joint_two_bone_idx">
- <return type="void">
- </return>
- <argument index="0" name="bone_idx" type="int">
- </argument>
+ <return type="void" />
+ <argument index="0" name="bone_idx" type="int" />
<description>
Sets the index of the [Bone2D] node that is being used as the second bone in the TwoBoneIK modification.
</description>