Work in progress
Godot documentation is being updated to reflect the latest changes in version
4.0
. Some documentation pages may
still state outdated information. This banner will tell you if you're reading one of such pages.
The contents of this page are up to date. If you can still find outdated information, please open an issue.
PolygonPathFinder¶
Inherits: Resource < RefCounted < Object
There is currently no description for this class. Please help us by contributing one!
Methods¶
get_bounds ( ) const |
|
get_closest_point ( Vector2 point ) const |
|
get_intersections ( Vector2 from, Vector2 to ) const |
|
get_point_penalty ( int idx ) const |
|
is_point_inside ( Vector2 point ) const |
|
void |
set_point_penalty ( int idx, float penalty ) |
void |
setup ( PackedVector2Array points, PackedInt32Array connections ) |
Method Descriptions¶
PackedVector2Array find_path ( Vector2 from, Vector2 to )
There is currently no description for this method. Please help us by contributing one!
Rect2 get_bounds ( ) const
There is currently no description for this method. Please help us by contributing one!
Vector2 get_closest_point ( Vector2 point ) const
There is currently no description for this method. Please help us by contributing one!
PackedVector2Array get_intersections ( Vector2 from, Vector2 to ) const
There is currently no description for this method. Please help us by contributing one!
float get_point_penalty ( int idx ) const
There is currently no description for this method. Please help us by contributing one!
bool is_point_inside ( Vector2 point ) const
There is currently no description for this method. Please help us by contributing one!
void set_point_penalty ( int idx, float penalty )
There is currently no description for this method. Please help us by contributing one!
void setup ( PackedVector2Array points, PackedInt32Array connections )
There is currently no description for this method. Please help us by contributing one!