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

VisualPreviewComponent

AUTO-GENERATED (GDScript) API entry

AUTO-GENERATED FILE — DO NOT EDIT MANUALLY

Source: components/ui/visual_preview_component.gd

Version: 6.0

class_name: VisualPreviewComponent extends: Component

Signals

(none)

Exports

(none)

Methods

  • _init(p_template: PlaceableTemplate = null) -> void
  • set_preview_state(state: PreviewState) -> void
  • set_collision_indicator_visible(visible: bool) -> void
  • set_associated_entity(entity: Entity) -> void
  • _update_visual_properties -> void
  • start_animation -> void
  • stop_animation -> void
  • update_animation(delta: float) -> void
  • get_effective_color -> Color
  • get_effective_opacity -> float
    • Apply animation pulsing
  • is_visible -> bool
  • get_display_name -> String
  • get_icon -> Texture2D
  • get_grid_size -> Vector2i
  • validate -> Array
  • _to_string -> String