diff options
Diffstat (limited to 'doc/classes/Polygon2D.xml')
-rw-r--r-- | doc/classes/Polygon2D.xml | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/doc/classes/Polygon2D.xml b/doc/classes/Polygon2D.xml index 5f75ac6c50..12f8055180 100644 --- a/doc/classes/Polygon2D.xml +++ b/doc/classes/Polygon2D.xml @@ -11,10 +11,10 @@ <methods> <method name="add_bone"> <return type="void" /> - <argument index="0" name="path" type="NodePath" /> - <argument index="1" name="weights" type="PackedFloat32Array" /> + <param index="0" name="path" type="NodePath" /> + <param index="1" name="weights" type="PackedFloat32Array" /> <description> - Adds a bone with the specified [code]path[/code] and [code]weights[/code]. + Adds a bone with the specified [param path] and [param weights]. </description> </method> <method name="clear_bones"> @@ -25,7 +25,7 @@ </method> <method name="erase_bone"> <return type="void" /> - <argument index="0" name="index" type="int" /> + <param index="0" name="index" type="int" /> <description> Removes the specified bone from this [Polygon2D]. </description> @@ -38,30 +38,30 @@ </method> <method name="get_bone_path" qualifiers="const"> <return type="NodePath" /> - <argument index="0" name="index" type="int" /> + <param index="0" name="index" type="int" /> <description> Returns the path to the node associated with the specified bone. </description> </method> <method name="get_bone_weights" qualifiers="const"> <return type="PackedFloat32Array" /> - <argument index="0" name="index" type="int" /> + <param index="0" name="index" type="int" /> <description> Returns the height values of the specified bone. </description> </method> <method name="set_bone_path"> <return type="void" /> - <argument index="0" name="index" type="int" /> - <argument index="1" name="path" type="NodePath" /> + <param index="0" name="index" type="int" /> + <param index="1" name="path" type="NodePath" /> <description> Sets the path to the node associated with the specified bone. </description> </method> <method name="set_bone_weights"> <return type="void" /> - <argument index="0" name="index" type="int" /> - <argument index="1" name="weights" type="PackedFloat32Array" /> + <param index="0" name="index" type="int" /> + <param index="1" name="weights" type="PackedFloat32Array" /> <description> Sets the weight values for the specified bone. </description> @@ -79,10 +79,10 @@ <member name="internal_vertex_count" type="int" setter="set_internal_vertex_count" getter="get_internal_vertex_count" default="0"> </member> <member name="invert_border" type="float" setter="set_invert_border" getter="get_invert_border" default="100.0"> - Added padding applied to the bounding box when using [code]invert[/code]. Setting this value too small may result in a "Bad Polygon" error. + Added padding applied to the bounding box when [member invert_enabled] is set to [code]true[/code]. Setting this value too small may result in a "Bad Polygon" error. </member> - <member name="invert_enable" type="bool" setter="set_invert" getter="get_invert" default="false"> - If [code]true[/code], polygon will be inverted, containing the area outside the defined points and extending to the [code]invert_border[/code]. + <member name="invert_enabled" type="bool" setter="set_invert_enabled" getter="get_invert_enabled" default="false"> + If [code]true[/code], the polygon will be inverted, containing the area outside the defined points and extending to the [member invert_border]. </member> <member name="offset" type="Vector2" setter="set_offset" getter="get_offset" default="Vector2(0, 0)"> The offset applied to each vertex. |