summaryrefslogtreecommitdiff
path: root/doc/classes/TubeTrailMesh.xml
diff options
context:
space:
mode:
authorHugo Locurcio <hugo.locurcio@hugo.pro>2022-05-21 02:03:34 +0200
committerHugo Locurcio <hugo.locurcio@hugo.pro>2022-12-19 17:29:32 +0100
commit6e330e8a75763a8126f96c58076ed18b00ebb382 (patch)
treee8c452d45902904c7fabf4522f1201ba403cbe0b /doc/classes/TubeTrailMesh.xml
parentd34594179a1e9f1ad5351b152f2ccfbd4b119c01 (diff)
Add properties to disable top/bottom cap generation in TubeTrailMesh
This can be used to improve generation and rendering performance, or for certain special effects such as particle trails.
Diffstat (limited to 'doc/classes/TubeTrailMesh.xml')
-rw-r--r--doc/classes/TubeTrailMesh.xml6
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/classes/TubeTrailMesh.xml b/doc/classes/TubeTrailMesh.xml
index ddc544dc97..7457aa4050 100644
--- a/doc/classes/TubeTrailMesh.xml
+++ b/doc/classes/TubeTrailMesh.xml
@@ -7,6 +7,12 @@
<tutorials>
</tutorials>
<members>
+ <member name="cap_bottom" type="bool" setter="set_cap_bottom" getter="is_cap_bottom" default="true">
+ If [code]true[/code], generates a cap at the bottom of the tube. This can be set to [code]false[/code] to speed up generation and rendering when the cap is never seen by the camera.
+ </member>
+ <member name="cap_top" type="bool" setter="set_cap_top" getter="is_cap_top" default="true">
+ If [code]true[/code], generates a cap at the top of the tube. This can be set to [code]false[/code] to speed up generation and rendering when the cap is never seen by the camera.
+ </member>
<member name="curve" type="Curve" setter="set_curve" getter="get_curve">
</member>
<member name="radial_steps" type="int" setter="set_radial_steps" getter="get_radial_steps" default="8">