NavigationMeshSourceGeometryData2D
Inherits: Resource < RefCounted < Object
Container for parsed source geometry data used in navigation mesh baking.
Description
Container for parsed source geometry data used in navigation mesh baking.
Methods
void | add_obstruction_outline ( PackedVector2Array shape_outline ) |
void | add_traversable_outline ( PackedVector2Array shape_outline ) |
void | clear ( ) |
get_obstruction_outlines ( ) const | |
get_traversable_outlines ( ) const | |
has_data ( ) | |
void | set_obstruction_outlines ( PackedVector2Array[] obstruction_outlines ) |
void | set_traversable_outlines ( PackedVector2Array[] traversable_outlines ) |
Method Descriptions
void add_obstruction_outline ( PackedVector2Array shape_outline )
Adds the outline points of a shape as obstructed area.
void add_traversable_outline ( PackedVector2Array shape_outline )
Adds the outline points of a shape as traversable area.
void clear ( )
Clears the internal data.
PackedVector2Array[] get_obstruction_outlines ( ) const
Returns all the obstructed area outlines arrays.
PackedVector2Array[] get_traversable_outlines ( ) const
Returns all the traversable area outlines arrays.
bool has_data ( )
Returns true
when parsed source geometry data exists.
void set_obstruction_outlines ( PackedVector2Array[] obstruction_outlines )
Sets all the obstructed area outlines arrays.
void set_traversable_outlines ( PackedVector2Array[] traversable_outlines )
Sets all the traversable area outlines arrays.
© Copyright 2014-present Juan Linietsky, Ariel Manzur and the Godot community (CC BY 3.0). Revision 53e837c6
.
Built with Sphinx using a theme provided by Read the Docs.