summaryrefslogtreecommitdiffstats
path: root/doc/classes/Polygon2D.xml
diff options
context:
space:
mode:
authorBojidar Marinov <bojidar.marinov.bg@gmail.com>2018-01-12 00:38:35 +0200
committerBojidar Marinov <bojidar.marinov.bg@gmail.com>2018-01-12 00:58:22 +0200
commitad79c703008394a360eb9875196a9414e1c84585 (patch)
tree99087c85636f2caf8717e42660017d9beb8a0f1f /doc/classes/Polygon2D.xml
parent9b8e8b2220b4e2bac3310262d3d1cd7a8eb3b0a5 (diff)
downloadredot-engine-ad79c703008394a360eb9875196a9414e1c84585.tar.gz
Update docs
[ci skip]
Diffstat (limited to 'doc/classes/Polygon2D.xml')
-rw-r--r--doc/classes/Polygon2D.xml19
1 files changed, 3 insertions, 16 deletions
diff --git a/doc/classes/Polygon2D.xml b/doc/classes/Polygon2D.xml
index f69010458e..26ddf617ea 100644
--- a/doc/classes/Polygon2D.xml
+++ b/doc/classes/Polygon2D.xml
@@ -11,22 +11,6 @@
<demos>
</demos>
<methods>
- <method name="get_texture_rotation" qualifiers="const">
- <return type="float">
- </return>
- <description>
- Return the rotation in radians of the texture polygon.
- </description>
- </method>
- <method name="set_texture_rotation">
- <return type="void">
- </return>
- <argument index="0" name="texture_rotation" type="float">
- </argument>
- <description>
- Set the amount of rotation of the polygon texture, [code]texture_rotation[/code] is specified in radians and clockwise rotation.
- </description>
- </method>
</methods>
<members>
<member name="antialiased" type="bool" setter="set_antialiased" getter="get_antialiased">
@@ -54,6 +38,9 @@
Amount to offset the polygon's [code]texture[/code]. If [code](0, 0)[/code] the texture's origin (its top-left corner) will be placed at the polygon's [code]position[/code].
</member>
<member name="texture_rotation" type="float" setter="set_texture_rotation_degrees" getter="get_texture_rotation_degrees">
+ The texture's rotation in radians.
+ </member>
+ <member name="texture_rotation_degrees" type="float" setter="set_texture_rotation_degrees" getter="get_texture_rotation_degrees">
The texture's rotation in degrees.
</member>
<member name="texture_scale" type="Vector2" setter="set_texture_scale" getter="get_texture_scale">