W3cubDocs

/Godot 3.0

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 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 )

© 2014–2018 Juan Linietsky, Ariel Manzur, Godot Engine contributors
Licensed under the MIT License.
http://docs.godotengine.org/en/3.0/classes/class_navigationpolygon.html