aboutsummaryrefslogtreecommitdiff
path: root/doc/classes/CollisionPolygon2D.xml
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--doc/classes/CollisionPolygon2D.xml61
1 files changed, 0 insertions, 61 deletions
diff --git a/doc/classes/CollisionPolygon2D.xml b/doc/classes/CollisionPolygon2D.xml
index 4383b42d7..af5bdad2e 100644
--- a/doc/classes/CollisionPolygon2D.xml
+++ b/doc/classes/CollisionPolygon2D.xml
@@ -11,67 +11,6 @@
<demos>
</demos>
<methods>
- <method name="get_build_mode" qualifiers="const">
- <return type="int" enum="CollisionPolygon2D.BuildMode">
- </return>
- <description>
- Return whether the polygon is a [ConvexPolygonShape2D] ([code]build_mode==0[/code]), or a [ConcavePolygonShape2D] ([code]build_mode==1[/code]).
- </description>
- </method>
- <method name="get_polygon" qualifiers="const">
- <return type="PoolVector2Array">
- </return>
- <description>
- Return the list of points that define the polygon.
- </description>
- </method>
- <method name="is_disabled" qualifiers="const">
- <return type="bool">
- </return>
- <description>
- </description>
- </method>
- <method name="is_one_way_collision_enabled" qualifiers="const">
- <return type="bool">
- </return>
- <description>
- </description>
- </method>
- <method name="set_build_mode">
- <return type="void">
- </return>
- <argument index="0" name="build_mode" type="int" enum="CollisionPolygon2D.BuildMode">
- </argument>
- <description>
- Set whether the polygon is to be a [ConvexPolygonShape2D] ([code]build_mode==0[/code]), or a [ConcavePolygonShape2D] ([code]build_mode==1[/code]).
- </description>
- </method>
- <method name="set_disabled">
- <return type="void">
- </return>
- <argument index="0" name="disabled" type="bool">
- </argument>
- <description>
- </description>
- </method>
- <method name="set_one_way_collision">
- <return type="void">
- </return>
- <argument index="0" name="enabled" type="bool">
- </argument>
- <description>
- </description>
- </method>
- <method name="set_polygon">
- <return type="void">
- </return>
- <argument index="0" name="polygon" type="PoolVector2Array">
- </argument>
- <description>
- Set the array of points forming the polygon.
- When editing the point list via the editor, depending on [method get_build_mode], it has to be a list of points (for [code]build_mode==0[/code]), or a list of lines (for [code]build_mode==1[/code]). In the second case, the even elements of the array define the start point of the line, and the odd elements the end point.
- </description>
- </method>
</methods>
<members>
<member name="build_mode" type="int" setter="set_build_mode" getter="get_build_mode" enum="CollisionPolygon2D.BuildMode">