Skip to content

Latest commit

 

History

History
75 lines (47 loc) · 5.42 KB

class_polygonpathfinder.rst

File metadata and controls

75 lines (47 loc) · 5.42 KB

PolygonPathFinder

Inherits: :ref:`Resource<class_resource>` < :ref:`Reference<class_reference>` < :ref:`Object<class_object>`

Category: Core

Brief Description

Member Functions

:ref:`PoolVector2Array<class_poolvector2array>` :ref:`find_path<class_PolygonPathFinder_find_path>` ( :ref:`Vector2<class_vector2>` from, :ref:`Vector2<class_vector2>` to )
:ref:`Rect2<class_rect2>` :ref:`get_bounds<class_PolygonPathFinder_get_bounds>` ( ) const
:ref:`Vector2<class_vector2>` :ref:`get_closest_point<class_PolygonPathFinder_get_closest_point>` ( :ref:`Vector2<class_vector2>` point ) const
:ref:`PoolVector2Array<class_poolvector2array>` :ref:`get_intersections<class_PolygonPathFinder_get_intersections>` ( :ref:`Vector2<class_vector2>` from, :ref:`Vector2<class_vector2>` to ) const
:ref:`float<class_float>` :ref:`get_point_penalty<class_PolygonPathFinder_get_point_penalty>` ( :ref:`int<class_int>` idx ) const
:ref:`bool<class_bool>` :ref:`is_point_inside<class_PolygonPathFinder_is_point_inside>` ( :ref:`Vector2<class_vector2>` point ) const
void :ref:`set_point_penalty<class_PolygonPathFinder_set_point_penalty>` ( :ref:`int<class_int>` idx, :ref:`float<class_float>` penalty )
void :ref:`setup<class_PolygonPathFinder_setup>` ( :ref:`PoolVector2Array<class_poolvector2array>` points, :ref:`PoolIntArray<class_poolintarray>` connections )

Member Function Description