Class NameDisplayer
- Namespace
- GridPlacement.GDScript
- Assembly
- MoonBark.GridPlacement.GDScript.dll
Name Displayer Resource\n\nA simple resource for displaying names in the manipulation system. Used for test configurations and UI display purposes.
class NameDisplayer extends Resource
NameDisplayer
Properties
display_name
The display name to show
@export var display_name: String = ""
show_name
Whether to show the display name
@export var show_name: bool = true
font_size
Font size for the display
@export var font_size: int = 12
text_color
Text color for the display
@export var text_color: Color = Color.WHITE
Methods
get_formatted_name
func get_formatted_name() -> String:
Returns
has_valid_name
func has_valid_name() -> bool: