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 ( ) |
Vector2Array | get_outline ( int idx ) const |
int | get_outline_count ( ) const |
IntArray | get_polygon ( int idx ) |
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 ) |
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
IntArray get_polygon ( int idx )
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 )
© 2014–2020 Juan Linietsky, Ariel Manzur, Godot Engine contributors
Licensed under the MIT License.
https://docs.godotengine.org/en/2.1/classes/class_navigationpolygon.html