class
Diorite::TextCommand3D
- Diorite::TextCommand3D
- Reference
- Object
Overview
Internal command payload representing an immediate-mode 3D text billboard label request.
Defined in:
diorite/core/debug_command.crConstructors
-
.new(position : Godot::Vector3, text : String, color : Godot::Color, duration : Float64 = 0.0, on_top : Bool = true, channel : String = "default")
Creates a new 3D text billboard command.
Instance Method Summary
-
#channel : String
Filter channel / layer category this command belongs to.
-
#channel=(channel : String)
Filter channel / layer category this command belongs to.
-
#color : Godot::Color
Text color modulate.
-
#color=(color : Godot::Color)
Text color modulate.
-
#duration : Float64
Lifetime duration in seconds.
-
#duration=(duration : Float64)
Lifetime duration in seconds.
-
#expired? : Bool
Returns true if the command has exceeded its duration lifetime.
-
#on_top : Bool
Whether this text label bypasses depth testing.
-
#on_top=(on_top : Bool)
Whether this text label bypasses depth testing.
-
#position : Godot::Vector3
World position of the 3D billboard text.
-
#position=(position : Godot::Vector3)
World position of the 3D billboard text.
-
#remaining_time : Float64
Remaining lifetime in seconds.
-
#remaining_time=(remaining_time : Float64)
Remaining lifetime in seconds.
-
#step(delta : Float64) : Void
Advances time by delta seconds.
-
#text : String
String message to display.
-
#text=(text : String)
String message to display.
Constructor Detail
Creates a new 3D text billboard command.