AUTO-GENERATED FILE — DO NOT EDIT MANUALLY
Source: placement/collsion_test/collision_test_setup_2d.gd
Version: 5.0
class_name: CollisionTestSetup2D
extends: RefCounted
Signals
(none)
Exports
(none)
Methods
_init(p_collision_object: CollisionObject2D, p_shape_stretch_size: Vector2) -> voidadd_issue(p_issue: String) -> voidfree_testing_nodes -> voidvalidate_setup -> boolcreate_test_setups_for_collision_owners(owner_shapes: Dictionary, Array], targeting_state: GridTargetingState) -> Dictionarycreate_test_setups_from_test_node(test_node: Node2D, targeting_state: GridTargetingState) -> Array_create_rect_tests_for_collision_object(p_collision_object: CollisionObject2D) -> Array_get_testing_rect_for_owner(p_shape_owner: Node2D) -> Rect2_adjust_rect_to_testing_size(p_base_rect: Rect2, p_shape_owner_global_transform: Transform2D) -> Rect2- If complex shape (rotated/skewed), make the rectangle cover full area as a square