RectCollisionTestingSetup
AUTO-GENERATED FILE – DO NOT EDIT MANUALLY
Area2D setup for collision shape testing with rectangle shapes.
Source File: addons/grid_building/placement/collsion_test/rect_collision_testing_setup.gd
Extends: RefCounted
Properties
- Property:
shape_owner: Node2D - Property:
shapes : Array[Shape2D] - Property:
area_2d: Area2D- Testing area - Property:
collision_shape: CollisionShape2D - Property:
rect_shape: RectangleShape2D- Testing rect shape - Property:
test_area_name = "IndicatorSetupTestingArea"
Private Properties
- Property:
_debug_area_colors = [(private) - Property:
_debug_mode = true # Used in development to show shapes.(private)
Constants
- Constant:
TRANSPARENCY_LEVEL = Color(1,1,1,0.1)
Public Methods
free_nodes
validate
toggle_debug
Private Methods
_area_setup
Flags: private
Sets up area_2d and collision_shape
_create_rect_shape
Flags: private