Grid Placement
Development ⚠️ GridPlacement 6.0 (GECS) is in active development. This is the GDScript ECS architecture.

TargetInfoComponent

AUTO-GENERATED (GDScript) API entry

AUTO-GENERATED FILE — DO NOT EDIT MANUALLY

Source: components/ui/target_info_component.gd

Version: 6.0

class_name: TargetInfoComponent extends: Component

Signals

(none)

Exports

  • display_mode: DisplayMode = DisplayMode.BASIC
    • Show position information
    • Show entity information
    • Show validation information
    • Show manipulation information
    • Custom information template
    • Information update frequency
    • Last update time
    • Current target entity
    • Cached information
    • Initialize target informer with data
  • show_position: bool = true
    • Show entity information
    • Show validation information
    • Show manipulation information
    • Custom information template
    • Information update frequency
    • Last update time
    • Current target entity
    • Cached information
    • Initialize target informer with data
  • show_entity_info: bool = true
    • Show validation information
    • Show manipulation information
    • Custom information template
    • Information update frequency
    • Last update time
    • Current target entity
    • Cached information
    • Initialize target informer with data
  • show_validation: bool = true
    • Show manipulation information
    • Custom information template
    • Information update frequency
    • Last update time
    • Current target entity
    • Cached information
    • Initialize target informer with data
  • show_manipulation: bool = true
    • Custom information template
    • Information update frequency
    • Last update time
    • Current target entity
    • Cached information
    • Initialize target informer with data
  • custom_template: String = ""
    • Information update frequency
    • Last update time
    • Current target entity
    • Cached information
    • Initialize target informer with data
  • update_frequency: float = 0.1 # seconds
    • Last update time
    • Current target entity
    • Cached information
    • Initialize target informer with data

Methods

  • _init(data: Dictionary = {}) -> void
  • set_target_entity(entity: Entity) -> void
  • set_display_mode(mode: DisplayMode) -> void
  • update_information(delta_time: float) -> void
  • force_refresh -> void
  • _refresh_cached_info -> void
  • _add_basic_info -> void
  • _add_position_info -> void
  • _add_entity_info -> void
  • _add_validation_info -> void
  • _add_manipulation_info -> void
  • get_formatted_info -> String
  • _format_basic_info -> String
  • _format_detailed_info -> String
    • Entity information
  • _format_custom_info -> String
    • Replace placeholders with actual data
  • set_custom_template(template: String) -> void
  • has_target -> bool
  • clear_target -> void
  • validate -> Array
  • get_summary -> Dictionary