Attention: Here be dragons

This is the latest (unstable) version of this documentation, which may document features not available in or compatible with released stable versions of Godot.

LineBase3D

Hérite de : GeometryInstance3D < VisualInstance3D < Node3D < Node < Object

Hérité par : Trail3D

A base class to draw a 3D line in space.


Énumérations

enum MeshAlignment: 🔗

MeshAlignment MESH_ALIGNMENT_LOCAL = 0

Align the line normal to the local Y axis of the line node.

MeshAlignment MESH_ALIGNMENT_BILLBOARD = 1

Align the normal of each section of the LineBase3D to face the camera.

See also SpriteBase3D.billboard and BillboardMode

MeshAlignment MESH_ALIGNMENT_MAX = 2

Represents the size of the MeshAlignment enum.


enum TilingMode: 🔗

TilingMode TILING_MODE_STRETCH = 0

Assign UVs from 0 to 1 across the length of the line.

TilingMode TILING_MODE_TILE = 1

Assign UVs from 0 to current length, across the length of the line.

TilingMode TILING_MAX = 2

Represents the size of the TilingMode enum.


enum MaterialMode: 🔗

MaterialMode MATERIAL_MODE_MIX = 0

Assign a built-in mix material to the line.

MaterialMode MATERIAL_MODE_ADD = 1

Assign a built-in additive material to the line.

MaterialMode MATERIAL_MODE_CUSTOM = 2

Assign a custom material to the line.

MaterialMode MATERIAL_MODE_MAX = 3

Represents the size of the MaterialMode enum.