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