diff options
Diffstat (limited to 'doc/classes/ConvexPolygonShape2D.xml')
-rw-r--r-- | doc/classes/ConvexPolygonShape2D.xml | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/doc/classes/ConvexPolygonShape2D.xml b/doc/classes/ConvexPolygonShape2D.xml index 42951e2158..62f8f00a82 100644 --- a/doc/classes/ConvexPolygonShape2D.xml +++ b/doc/classes/ConvexPolygonShape2D.xml @@ -11,20 +11,16 @@ </tutorials> <methods> <method name="set_point_cloud"> - <return type="void"> - </return> - <argument index="0" name="point_cloud" type="PackedVector2Array"> - </argument> + <return type="void" /> + <argument index="0" name="point_cloud" type="PackedVector2Array" /> <description> Based on the set of points provided, this creates and assigns the [member points] property using the convex hull algorithm. Removing all unneeded points. See [method Geometry2D.convex_hull] for details. </description> </method> </methods> <members> - <member name="points" type="PackedVector2Array" setter="set_points" getter="get_points" default="PackedVector2Array( )"> - The polygon's list of vertices. Can be in either clockwise or counterclockwise order. + <member name="points" type="PackedVector2Array" setter="set_points" getter="get_points" default="PackedVector2Array()"> + The polygon's list of vertices. Can be in either clockwise or counterclockwise order. Only set this property with convex hull points, use [method set_point_cloud] to generate a convex hull shape from concave shape points. </member> </members> - <constants> - </constants> </class> |