2017-09-12 22:42:36 +02:00
|
|
|
<?xml version="1.0" encoding="UTF-8" ?>
|
2017-11-24 09:16:52 +01:00
|
|
|
<class name="Navigation" inherits="Spatial" category="Core" version="3.0-beta">
|
2017-09-12 22:42:36 +02:00
|
|
|
<brief_description>
|
|
|
|
</brief_description>
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
<tutorials>
|
|
|
|
</tutorials>
|
|
|
|
<demos>
|
|
|
|
</demos>
|
|
|
|
<methods>
|
|
|
|
<method name="get_closest_point">
|
|
|
|
<return type="Vector3">
|
|
|
|
</return>
|
|
|
|
<argument index="0" name="to_point" type="Vector3">
|
|
|
|
</argument>
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="get_closest_point_normal">
|
|
|
|
<return type="Vector3">
|
|
|
|
</return>
|
|
|
|
<argument index="0" name="to_point" type="Vector3">
|
|
|
|
</argument>
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="get_closest_point_owner">
|
|
|
|
<return type="Object">
|
|
|
|
</return>
|
|
|
|
<argument index="0" name="to_point" type="Vector3">
|
|
|
|
</argument>
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="get_closest_point_to_segment">
|
|
|
|
<return type="Vector3">
|
|
|
|
</return>
|
|
|
|
<argument index="0" name="start" type="Vector3">
|
|
|
|
</argument>
|
|
|
|
<argument index="1" name="end" type="Vector3">
|
|
|
|
</argument>
|
|
|
|
<argument index="2" name="use_collision" type="bool" default="false">
|
|
|
|
</argument>
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="get_simple_path">
|
|
|
|
<return type="PoolVector3Array">
|
|
|
|
</return>
|
|
|
|
<argument index="0" name="start" type="Vector3">
|
|
|
|
</argument>
|
|
|
|
<argument index="1" name="end" type="Vector3">
|
|
|
|
</argument>
|
|
|
|
<argument index="2" name="optimize" type="bool" default="true">
|
|
|
|
</argument>
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="navmesh_create">
|
|
|
|
<return type="int">
|
|
|
|
</return>
|
|
|
|
<argument index="0" name="mesh" type="NavigationMesh">
|
|
|
|
</argument>
|
|
|
|
<argument index="1" name="xform" type="Transform">
|
|
|
|
</argument>
|
|
|
|
<argument index="2" name="owner" type="Object" default="null">
|
|
|
|
</argument>
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="navmesh_remove">
|
|
|
|
<return type="void">
|
|
|
|
</return>
|
|
|
|
<argument index="0" name="id" type="int">
|
|
|
|
</argument>
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="navmesh_set_transform">
|
|
|
|
<return type="void">
|
|
|
|
</return>
|
|
|
|
<argument index="0" name="id" type="int">
|
|
|
|
</argument>
|
|
|
|
<argument index="1" name="xform" type="Transform">
|
|
|
|
</argument>
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
</methods>
|
|
|
|
<members>
|
2017-09-13 08:49:40 +02:00
|
|
|
<member name="up_vector" type="Vector3" setter="set_up_vector" getter="get_up_vector">
|
2017-09-12 22:42:36 +02:00
|
|
|
</member>
|
|
|
|
</members>
|
|
|
|
<constants>
|
|
|
|
</constants>
|
|
|
|
</class>
|