NameDisplayer

Check if the displayer has a valid name to show

sort Weight: 10

Check if the displayer has a valid name to show

Version: v5.0.0

STABLE

Inherits: Resource
Source: name_displayer.gd
Parsing: AST-based for maximum accuracy with symbol typing


Methods

_init

Signature: _init(p_display_name: String = "", p_show_name: bool = true, p_font_size: int = 12, p_text_color: Color = Color.WHITE) -> void

Returns: void

Parameters:

  • p_display_name: String (optional, default: "")
  • p_show_name: bool (optional, default: true)
  • p_font_size: int (optional, default: 12)
  • p_text_color: Color (optional, default: Color.WHITE)

get_formatted_name

Signature: get_formatted_name() -> String

Get the formatted display name

Returns: String


has_valid_name

Signature: has_valid_name() -> bool

Check if the displayer has a valid name to show

Returns: bool