geometry_cache_manager
AUTO-GENERATED FILE – DO NOT EDIT MANUALLY
Manages caching for geometry calculations to improve performance.
Source File: addons/grid_building/placement/manager/components/mapper/geometry_cache_manager.gd
Extends: RefCounted
Private Properties
- Property:
_geometry_cache: Dictionary = {}(private) - Property:
_polygon_bounds_cache: Dictionary = {}(private) - Property:
_tile_polygon_cache: Dictionary = {}(private) - Property:
_cache_frame: int = 0(private)
Public Methods
invalidate_cache
Invalidates all cached geometry data when setup changes.
get_cached_polygon_bounds
Gets cached polygon bounds or calculates and caches if not found.
get_cached_tile_polygon
Gets cached tile polygon or calculates and caches if not found.
get_cached_geometry_result
Gets cached geometry calculation result or calculates and caches if not found.