2023-06-03 20:39:56 +02:00
|
|
|
<?xml version="1.0" encoding="UTF-8" ?>
|
|
|
|
<class name="NavigationMeshSourceGeometryData2D" inherits="Resource" version="4.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd">
|
|
|
|
<brief_description>
|
|
|
|
Contains parsed source geometry data for use in [NavigationPolygon] baking with the [NavigationMeshGenerator].
|
|
|
|
</brief_description>
|
|
|
|
<description>
|
|
|
|
Contains parsed source geometry data for use in [NavigationPolygon] baking with the [NavigationMeshGenerator].
|
|
|
|
</description>
|
|
|
|
<tutorials>
|
|
|
|
</tutorials>
|
|
|
|
<methods>
|
|
|
|
<method name="add_obstruction_outline">
|
|
|
|
<return type="void" />
|
2023-06-10 21:10:45 +02:00
|
|
|
<argument index="0" name="shape_outline" type="PoolVector2Array" />
|
2023-06-03 20:39:56 +02:00
|
|
|
<description>
|
|
|
|
Adds the outline points of a shape as obstructed area.
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="add_traversable_outline">
|
|
|
|
<return type="void" />
|
2023-06-10 21:10:45 +02:00
|
|
|
<argument index="0" name="shape_outline" type="PoolVector2Array" />
|
2023-06-03 20:39:56 +02:00
|
|
|
<description>
|
|
|
|
Adds the outline points of a shape as traversable area.
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="clear">
|
|
|
|
<return type="void" />
|
|
|
|
<description>
|
|
|
|
Clears the internal data.
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="get_obstruction_outlines" qualifiers="const">
|
2023-06-10 21:10:45 +02:00
|
|
|
<return type="Array" />
|
2023-06-03 20:39:56 +02:00
|
|
|
<description>
|
|
|
|
Returns all the obstructed area outlines arrays.
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="get_traversable_outlines" qualifiers="const">
|
2023-06-10 21:10:45 +02:00
|
|
|
<return type="Array" />
|
2023-06-03 20:39:56 +02:00
|
|
|
<description>
|
|
|
|
Returns all the traversable area outlines arrays.
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="has_data">
|
|
|
|
<return type="bool" />
|
|
|
|
<description>
|
|
|
|
Returns [b]true[/b] when parsed source geometry data exists.
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="set_obstruction_outlines">
|
|
|
|
<return type="void" />
|
2023-06-10 21:10:45 +02:00
|
|
|
<argument index="0" name="obstruction_outlines" type="Array" />
|
2023-06-03 20:39:56 +02:00
|
|
|
<description>
|
|
|
|
Sets all the obstructed area outlines arrays.
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="set_traversable_outlines">
|
|
|
|
<return type="void" />
|
2023-06-10 21:10:45 +02:00
|
|
|
<argument index="0" name="traversable_outlines" type="Array" />
|
2023-06-03 20:39:56 +02:00
|
|
|
<description>
|
|
|
|
Sets all the traversable area outlines arrays.
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
</methods>
|
|
|
|
</class>
|