Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions doc/classes/Curve2D.xml
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,19 @@
Deletes the point [param idx] from the curve. Sends an error to the console if [param idx] is out of bounds.
</description>
</method>
<method name="reset_all_points_handles">
<return type="void" />
<description>
All control points are reset, effectively removing all "smoothness."
</description>
</method>
<method name="reset_point_handles">
<return type="void" />
<param index="0" name="idx" type="int" />
<description>
Sets the control handles for the specified point to 0.
</description>
</method>
<method name="sample" qualifiers="const">
<return type="Vector2" />
<param index="0" name="idx" type="int" />
Expand Down Expand Up @@ -149,6 +162,12 @@
Sets the position for the vertex [param idx]. If the index is out of bounds, the function sends an error to the console.
</description>
</method>
<method name="smooth_all_points">
<return type="void" />
<description>
Automatically interpolates control handles for all points, creating a smooth curve.
</description>
</method>
<method name="tessellate" qualifiers="const">
<return type="PackedVector2Array" />
<param index="0" name="max_stages" type="int" default="5" />
Expand Down
Loading
Loading