summaryrefslogtreecommitdiff
path: root/doc/classes/Navigation2D.xml
blob: d2f451337217d18353e2cb3b897d2ba625261866 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
<?xml version="1.0" encoding="UTF-8" ?>
<class name="Navigation2D" inherits="Node2D" category="Core" version="3.1">
	<brief_description>
		Class to assist with character navigation and pathfinding.
	</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>
		<method name="navpoly_add">
			<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>