summaryrefslogtreecommitdiff
path: root/doc/classes/PolygonPathFinder.xml
blob: 945849e4dfb48e69119ab74e211193b502f52e1a (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
<?xml version="1.0" encoding="UTF-8" ?>
<class name="PolygonPathFinder" inherits="Resource" version="4.0">
	<brief_description>
	</brief_description>
	<description>
	</description>
	<tutorials>
	</tutorials>
	<methods>
		<method name="find_path">
			<return type="PackedVector2Array" />
			<argument index="0" name="from" type="Vector2" />
			<argument index="1" name="to" type="Vector2" />
			<description>
			</description>
		</method>
		<method name="get_bounds" qualifiers="const">
			<return type="Rect2" />
			<description>
			</description>
		</method>
		<method name="get_closest_point" qualifiers="const">
			<return type="Vector2" />
			<argument index="0" name="point" type="Vector2" />
			<description>
			</description>
		</method>
		<method name="get_intersections" qualifiers="const">
			<return type="PackedVector2Array" />
			<argument index="0" name="from" type="Vector2" />
			<argument index="1" name="to" type="Vector2" />
			<description>
			</description>
		</method>
		<method name="get_point_penalty" qualifiers="const">
			<return type="float" />
			<argument index="0" name="idx" type="int" />
			<description>
			</description>
		</method>
		<method name="is_point_inside" qualifiers="const">
			<return type="bool" />
			<argument index="0" name="point" type="Vector2" />
			<description>
			</description>
		</method>
		<method name="set_point_penalty">
			<return type="void" />
			<argument index="0" name="idx" type="int" />
			<argument index="1" name="penalty" type="float" />
			<description>
			</description>
		</method>
		<method name="setup">
			<return type="void" />
			<argument index="0" name="points" type="PackedVector2Array" />
			<argument index="1" name="connections" type="PackedInt32Array" />
			<description>
			</description>
		</method>
	</methods>
</class>