2017-09-12 20:42:36 +00:00
|
|
|
<?xml version="1.0" encoding="UTF-8" ?>
|
2018-01-25 07:50:56 +00:00
|
|
|
<class name="Navigation2D" inherits="Node2D" category="Core" version="3.0-stable">
|
2017-09-12 20:42:36 +00:00
|
|
|
<brief_description>
|
|
|
|
</brief_description>
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
<tutorials>
|
|
|
|
</tutorials>
|
|
|
|
<demos>
|
|
|
|
</demos>
|
|
|
|
<methods>
|
|
|
|
<method name="get_closest_point">
|
|
|
|
<return type="Vector2">
|
|
|
|
</return>
|
|
|
|
<argument index="0" name="to_point" type="Vector2">
|
|
|
|
</argument>
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="get_closest_point_owner">
|
|
|
|
<return type="Object">
|
|
|
|
</return>
|
|
|
|
<argument index="0" name="to_point" type="Vector2">
|
|
|
|
</argument>
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="get_simple_path">
|
|
|
|
<return type="PoolVector2Array">
|
|
|
|
</return>
|
|
|
|
<argument index="0" name="start" type="Vector2">
|
|
|
|
</argument>
|
|
|
|
<argument index="1" name="end" type="Vector2">
|
|
|
|
</argument>
|
|
|
|
<argument index="2" name="optimize" type="bool" default="true">
|
|
|
|
</argument>
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2017-12-15 20:09:06 +00:00
|
|
|
<method name="navpoly_add">
|
2017-09-12 20:42:36 +00:00
|
|
|
<return type="int">
|
|
|
|
</return>
|
|
|
|
<argument index="0" name="mesh" type="NavigationPolygon">
|
|
|
|
</argument>
|
|
|
|
<argument index="1" name="xform" type="Transform2D">
|
|
|
|
</argument>
|
|
|
|
<argument index="2" name="owner" type="Object" default="null">
|
|
|
|
</argument>
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="navpoly_remove">
|
|
|
|
<return type="void">
|
|
|
|
</return>
|
|
|
|
<argument index="0" name="id" type="int">
|
|
|
|
</argument>
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="navpoly_set_transform">
|
|
|
|
<return type="void">
|
|
|
|
</return>
|
|
|
|
<argument index="0" name="id" type="int">
|
|
|
|
</argument>
|
|
|
|
<argument index="1" name="xform" type="Transform2D">
|
|
|
|
</argument>
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
</methods>
|
|
|
|
<constants>
|
|
|
|
</constants>
|
|
|
|
</class>
|