summaryrefslogtreecommitdiffstats
path: root/doc/classes
diff options
context:
space:
mode:
authorThaddeus Crews <repiteo@outlook.com>2024-11-18 09:23:38 -0600
committerThaddeus Crews <repiteo@outlook.com>2024-11-18 09:23:38 -0600
commit8e324c458971592f68dcd4730211574153636aab (patch)
tree38b7b404aff419ce65ff94e2bdf969c0dc32679c /doc/classes
parent80e73b0dcac55a76db04036c7cd562393bc62be1 (diff)
parent790efbb7830a4beef7f6b37c60fad605cc5330d1 (diff)
downloadredot-engine-8e324c458971592f68dcd4730211574153636aab.tar.gz
Merge pull request #86195 from GreenCrowDev/curve3d_close
Add `closed` property to `Curve3D`
Diffstat (limited to 'doc/classes')
-rw-r--r--doc/classes/Curve3D.xml3
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/classes/Curve3D.xml b/doc/classes/Curve3D.xml
index 9157649af2..f8386b73b2 100644
--- a/doc/classes/Curve3D.xml
+++ b/doc/classes/Curve3D.xml
@@ -204,6 +204,9 @@
<member name="bake_interval" type="float" setter="set_bake_interval" getter="get_bake_interval" default="0.2">
The distance in meters between two adjacent cached points. Changing it forces the cache to be recomputed the next time the [method get_baked_points] or [method get_baked_length] function is called. The smaller the distance, the more points in the cache and the more memory it will consume, so use with care.
</member>
+ <member name="closed" type="bool" setter="set_closed" getter="is_closed" default="false">
+ If [code]true[/code], and the curve has more than 2 control points, the last point and the first one will be connected in a loop.
+ </member>
<member name="point_count" type="int" setter="set_point_count" getter="get_point_count" default="0">
The number of points describing the curve.
</member>