NavigationPolygon¶
Inherits: Resource < Reference < Object
Category: Core
Brief Description¶
Member Functions¶
void |
add_outline ( Vector2Array outline ) |
void |
add_outline_at_index ( Vector2Array outline, int index ) |
void |
add_polygon ( IntArray polygon ) |
void |
clear_outlines ( ) |
void |
clear_polygons ( ) |
get_outline ( int idx ) const |
|
get_outline_count ( ) const |
|
get_polygon ( int idx ) |
|
get_polygon_count ( ) const |
|
get_vertices ( ) const |
|
void |
|
void |
remove_outline ( int idx ) |
void |
set_outline ( int idx, Vector2Array outline ) |
void |
set_vertices ( Vector2Array vertices ) |
Member Function Description¶
void add_outline ( Vector2Array outline )
void add_outline_at_index ( Vector2Array outline, int index )
void add_polygon ( IntArray polygon )
void clear_outlines ( )
void clear_polygons ( )
Vector2Array get_outline ( int idx ) const
int get_outline_count ( ) const
int get_polygon_count ( ) const
Vector2Array get_vertices ( ) const
void make_polygons_from_outlines ( )
void remove_outline ( int idx )
void set_outline ( int idx, Vector2Array outline )
void set_vertices ( Vector2Array vertices )