LineBase3D
Inherits: GeometryInstance3D < VisualInstance3D < Entity3D < Entity < Object
Inherited by: Trail3D
Description
Section titled “Description”A base class to draw a 3D line in space.
Enumerations
Section titled “Enumerations”MeshAlignment
enum MeshAlignment
MESH_ALIGNMENT_LOCAL = 0
Align the line normal to the local Y axis of the line node.
MESH_ALIGNMENT_BILLBOARD = 1
Align the normal of each section of the LineBase3D to face the camera.
See also SpriteBase3D.billboard and BaseMaterial3D.BillboardMode
MESH_ALIGNMENT_MAX = 2
Represents the size of the MeshAlignment enum.
TilingMode
enum TilingMode
TILING_MODE_STRETCH = 0
Assign UVs from 0 to 1 across the length of the line.
TILING_MODE_TILE = 1
Assign UVs from 0 to current length, across the length of the line.
TILING_MAX = 2
Represents the size of the TilingMode enum.
MaterialMode
enum MaterialMode
MATERIAL_MODE_MIX = 0
Assign a built-in mix material to the line.
MATERIAL_MODE_ADD = 1
Assign a built-in additive material to the line.
MATERIAL_MODE_CUSTOM = 2
Assign a custom material to the line.
MATERIAL_MODE_MAX = 3
Represents the size of the MaterialMode enum.
