summaryrefslogtreecommitdiff
path: root/doc/classes/Curve3D.xml
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2022-05-17 20:00:58 +0200
committerGitHub <noreply@github.com>2022-05-17 20:00:58 +0200
commitd4c4302e4784d313109c5b7d80a83f1c8237ec68 (patch)
tree5b01d346d07e8462975aca78824d5402f5ba5042 /doc/classes/Curve3D.xml
parent3ad751f7e0b2d5c2e6ae17872666f4967f5c955d (diff)
parenta9a41df0c84f1852a07843771734fc67cf285f54 (diff)
Merge pull request #58023 from raulsntos/curve_points_in_inspector
Exposes the Curve, Curve2D and Curve3D points in the inspector
Diffstat (limited to 'doc/classes/Curve3D.xml')
-rw-r--r--doc/classes/Curve3D.xml9
1 files changed, 3 insertions, 6 deletions
diff --git a/doc/classes/Curve3D.xml b/doc/classes/Curve3D.xml
index ed642e0ddc..6457d9681e 100644
--- a/doc/classes/Curve3D.xml
+++ b/doc/classes/Curve3D.xml
@@ -68,12 +68,6 @@
[code]to_point[/code] must be in this curve's local space.
</description>
</method>
- <method name="get_point_count" qualifiers="const">
- <return type="int" />
- <description>
- Returns the number of points describing the curve.
- </description>
- </method>
<method name="get_point_in" qualifiers="const">
<return type="Vector3" />
<argument index="0" name="idx" type="int" />
@@ -194,6 +188,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="point_count" type="int" setter="set_point_count" getter="get_point_count" default="0">
+ The number of points describing the curve.
+ </member>
<member name="up_vector_enabled" type="bool" setter="set_up_vector_enabled" getter="is_up_vector_enabled" default="true">
If [code]true[/code], the curve will bake up vectors used for orientation. This is used when [member PathFollow3D.rotation_mode] is set to [constant PathFollow3D.ROTATION_ORIENTED]. Changing it forces the cache to be recomputed.
</member>