PreviewFactory
AUTO-GENERATED FILE — DO NOT EDIT MANUALLY
Source: systems/building/factories/preview_factory.gd
Version: 5.1
class_name: PreviewFactory
extends: RefCounted
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
_is_collision_node()- Checks if a node is collision-related