PreviewFactory
AUTO-GENERATED FILE — DO NOT EDIT MANUALLY
Source: systems/building/components/preview_factory.gd
Version: 5.0
class_name: PreviewFactory
extends: GBInjectable
Signals
(none)
Exports
(none)
Methods
resolve_gb_dependencies()- Receives injected dependencies from the composition container. Assigns logger and building settings if available. [b]Returns[/b]: [i]bool[/i] - True if dependencies were successfully resolved, false otherwise
get_runtime_issues()- Validates that all required dependencies and state are properly set. Returns an empty array if valid, or a list of issues if not.
_init()instance_preview()- Places an instance of the p_placeable scene onto the positioner, and strips it of any script types not declared in preview_kept_script_types
The root node of the scene will be assigned the preview_root_script if any is in the settings