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.
Checking the stable version of the documentation...
Label3D¶
Inherits: GeometryInstance3D < VisualInstance3D < Node3D < Node < Object
A node for displaying plain text in 3D space.
Description¶
A node for displaying plain text in 3D space. By adjusting various properties of this node, you can configure things such as the text's appearance and whether it always faces the camera.
Tutorials¶
Properties¶
|
||
|
||
|
||
|
||
|
||
|
||
|
||
cast_shadow |
|
|
|
||
|
||
|
||
gi_mode |
|
|
|
||
BitField<JustificationFlag> |
|
|
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
Methods¶
generate_triangle_mesh ( ) const |
|
get_draw_flag ( DrawFlags flag ) const |
|
void |
set_draw_flag ( DrawFlags flag, bool enabled ) |
Enumerations¶
enum DrawFlags:
DrawFlags FLAG_SHADED = 0
If set, lights in the environment affect the label.
DrawFlags FLAG_DOUBLE_SIDED = 1
If set, text can be seen from the back as well. If not, the text is invisible when looking at it from behind.
DrawFlags FLAG_DISABLE_DEPTH_TEST =