AUTO-GENERATED FILE — DO NOT EDIT MANUALLY
Source: helpers/unified_component_factory.gd
Version: 6.0
class_name: UnifiedComponentFactory
extends: RefCounted
Signals
(none)
Exports
(none)
Methods
with_template(p_template: PlaceableTemplate) -> PlaceableBuilderwith_placeable_id(p_placeable_id: StringName) -> PlaceableBuilderwith_rotation(p_rotation: float) -> PlaceableBuilderwith_flip_state(p_flip_state: Variant) -> PlaceableBuilderwith_placer_entity_id(p_placer_entity_id: String) -> PlaceableBuildercreate_placeable_builder -> PlaceableBuildercreate_entity(world: World, components: Array, add_to_tree: bool = true) -> Entitycreate_placeable(template: PlaceableTemplate, rotation: float = 0.0, flip_state: Variant = ManipulationCapability.FlipState.NONE, placer_entity_id: String = "") -> PlaceableComponentcreate_placeable_with_id(placeable_id: StringName, rotation: float = 0.0, flip_state: Variant = ManipulationCapability.FlipState.NONE, placer_entity_id: String = "") -> PlaceableComponentcreate_placeable_from_builder(builder: PlaceableBuilder) -> PlaceableComponentcreate_grid_position(position: Vector2i = Vector2i.ZERO, layer: int = 0, grid_size: Vector2 = Vector2(16, 16)create_placement_request(position: Vector2 = Vector2.ZERO, scale: Vector2 = Vector2.ONE, is_ready: bool = true) -> PlacementRequestComponentcreate_transform(position: Vector2 = Vector2.ZERO, rotation: float = 0.0, scale: Vector2 = Vector2.ONE) -> TransformComponentcreate_manipulation(mode: int = 0, target_position: Vector2i = Vector2i.ZERO, is_active: bool = true) -> ManipulationComponentcreate_placement_rule(rule_type: StringName = &"test_rule", rule_config: ValidationRuleConfiguration = null, priority: int = 0) -> PlacementRuleComponentcreate_validation_result(success: bool = true, issues: Array, warnings: Array) -> ValidationResultComponentcreate_placement_event(event_type: PlacementEventComponent, entity_id: String = "", target_position: Vector2 = Vector2.ZERO, success: bool = false, message: String = "", details: Dictionary = {}) -> PlacementEventComponentcreate_grid_bounds_rule_config(min_bounds: Vector2i = Vector2i.ZERO, max_bounds: Vector2i = Vector2i(100, 100)create_collision_rule_config(mask: int = 1, pass_on_col: bool = false) -> CollisionRuleDatacreate_test_world -> Worldcreate_standard_test_entity(world: World, position: Vector2i = Vector2i(5, 5)