summaryrefslogtreecommitdiffstats
path: root/doc/classes
diff options
context:
space:
mode:
authormatricola787 <62719360+matricola787@users.noreply.github.com>2023-12-14 19:19:55 +0100
committerGreenCrowDev <pcalifano@outlook.it>2024-11-16 12:59:08 +0100
commit790efbb7830a4beef7f6b37c60fad605cc5330d1 (patch)
tree519a202b13e2b055b46ab2f97b2741682ebfca23 /doc/classes
parentef8d981267702de38ffc24136f9d823d31781c60 (diff)
downloadredot-engine-790efbb7830a4beef7f6b37c60fad605cc5330d1.tar.gz
Implement closed path for 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>