AStar2D
Inherits: RefCounted < Object
There is currently no description for this class. Please help us by contributing one!
Methods
_compute_cost ( int from_id, int to_id ) virtual const |
|
_estimate_cost ( int from_id, int to_id ) virtual const |
|
void |
add_point ( int id, Vector2 position, float weight_scale=1.0 ) |
are_points_connected ( int id, int to_id, bool bidirectional=true ) const |
|
void |
clear ( ) |
void |
connect_points ( int id, int to_id, bool bidirectional=true ) |
void |
disconnect_points ( int id, int to_id, bool bidirectional=true ) |
get_available_point_id ( ) const |
|
get_closest_point ( Vector2 to_position, bool include_disabled=false ) const |
|
get_closest_position_in_segment ( Vector2 to_position ) const |
|
get_id_path ( int from_id, int to_id, bool allow_partial_path=false ) |
|
get_point_capacity ( ) const |
|
get_point_connections ( int id ) |
|
get_point_count ( ) const |
|
get_point_ids ( ) |
|
get_point_path ( int from_id, int to_id, bool allow_partial_path=false ) |
|
get_point_position ( int id ) const |
|
get_point_weight_scale ( int id ) const |
|
is_point_disabled ( int id ) const |
|
void |
remove_point ( int id ) |
void |
reserve_space ( int num_nodes ) |
void |
set_point_disabled ( int id, bool disabled=true ) |
void |
set_point_position ( int id, Vector2 position ) |
void |
set_point_weight_scale ( int id, float weight_scale ) |
Method Descriptions
float _compute_cost ( int from_id, int to_id ) virtual const
There is currently no description for this method. Please help us by contributing one!
float _estimate_cost ( int from_id, int to_id ) virtual const
There is currently no description for this method. Please help us by contributing one!
void add_point ( int id, Vector2 position, float weight_scale=1.0 )
There is currently no description for this method. Please help us by contributing one!
bool are_points_connected ( int id, int to_id, bool bidirectional=true ) const
There is currently no description for this method. Please help us by contributing one!
void clear ( )
There is currently no description for this method. Please help us by contributing one!
void connect_points ( int id, int to_id, bool bidirectional=true )
There is currently no description for this method. Please help us by contributing one!
void disconnect_points ( int id, int to_id, bool bidirectional=true )
There is currently no description for this method. Please help us by contributing one!
int get_available_point_id ( ) const
There is currently no description for this method. Please help us by contributing one!
int get_closest_point ( Vector2 to_position, bool include_disabled=false ) const
There is currently no description for this method. Please help us by contributing one!
Vector2 get_closest_position_in_segment ( Vector2 to_position ) const
There is currently no description for this method. Please help us by contributing one!
PackedInt64Array get_id_path ( int from_id, int to_id, bool allow_partial_path=false )
There is currently no description for this method. Please help us by contributing one!
int get_point_capacity ( ) const
There is currently no description for this method. Please help us by contributing one!
PackedInt64Array get_point_connections ( int id )
There is currently no description for this method. Please help us by contributing one!
int get_point_count ( ) const
There is currently no description for this method. Please help us by contributing one!
PackedInt64Array get_point_ids ( )
There is currently no description for this method. Please help us by contributing one!
PackedVector2Array get_point_path ( int from_id, int to_id, bool allow_partial_path=false )
There is currently no description for this method. Please help us by contributing one!
Vector2 get_point_position ( int id ) const
There is currently no description for this method. Please help us by contributing one!
float get_point_weight_scale ( int id ) const
There is currently no description for this method. Please help us by contributing one!
bool has_point ( int id ) const
There is currently no description for this method. Please help us by contributing one!
bool is_point_disabled ( int id ) const
There is currently no description for this method. Please help us by contributing one!
void remove_point ( int id )
There is currently no description for this method. Please help us by contributing one!
void reserve_space ( int num_nodes )
There is currently no description for this method. Please help us by contributing one!
void set_point_disabled ( int id, bool disabled=true )
There is currently no description for this method. Please help us by contributing one!
void set_point_position ( int id, Vector2 position )
There is currently no description for this method. Please help us by contributing one!
void set_point_weight_scale ( int id, float weight_scale )
There is currently no description for this method. Please help us by contributing one!