Work in progress

Godot documentation is being updated to reflect the latest changes in version 4.0. Some documentation pages may still state outdated information. This banner will tell you if you're reading one of such pages.

The contents of this page are up to date. If you can still find outdated information, please open an issue.

TubeTrailMesh

Inherits: PrimitiveMesh < Mesh < Resource < RefCounted < Object

There is currently no description for this class. Please help us by contributing one!

Properties

bool

cap_bottom

true

bool

cap_top

true

Curve

curve

int

radial_steps

8

float

radius

0.5

float

section_length

0.2

int

section_rings

3

int

sections

5


Property Descriptions

bool cap_bottom = true

  • void set_cap_bottom ( bool value )

  • bool is_cap_bottom ( )

If true, generates a cap at the bottom of the tube. This can be set to false to speed up generation and rendering when the cap is never seen by the camera.


bool cap_top = true

  • void set_cap_top ( bool value )

  • bool is_cap_top ( )

If true, generates a cap at the top of the tube. This can be set to false to speed up generation and rendering when the cap is never seen by the camera.


Curve curve

  • void set_curve ( Curve value )

  • Curve get_curve ( )

There is currently no description for this property. Please help us by contributing one!


int radial_steps = 8

  • void set_radial_steps ( int value )

  • int get_radial_steps ( )

There is currently no description for this property. Please help us by contributing one!


float radius = 0.5

  • void set_radius ( float value )

  • float get_radius ( )

There is currently no description for this property. Please help us by contributing one!


float section_length = 0.2

  • void set_section_length ( float value )

  • float get_section_length ( )

There is currently no description for this property. Please help us by contributing one!


int section_rings = 3

  • void set_section_rings ( int value )

  • int get_section_rings ( )

There is currently no description for this property. Please help us by contributing one!


int sections = 5

  • void set_sections ( int value )

  • int get_sections ( )

There is currently no description for this property. Please help us by contributing one!