summaryrefslogtreecommitdiff
path: root/doc/classes/NavigationMesh.xml
blob: 5563c94b3545f84fa4db3356009344873787eb2e (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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
<?xml version="1.0" encoding="UTF-8" ?>
<class name="NavigationMesh" inherits="Resource" category="Core" version="3.0-beta">
	<brief_description>
	</brief_description>
	<description>
	</description>
	<tutorials>
	</tutorials>
	<demos>
	</demos>
	<methods>
		<method name="add_polygon">
			<return type="void">
			</return>
			<argument index="0" name="polygon" type="PoolIntArray">
			</argument>
			<description>
			</description>
		</method>
		<method name="clear_polygons">
			<return type="void">
			</return>
			<description>
			</description>
		</method>
		<method name="create_from_mesh">
			<return type="void">
			</return>
			<argument index="0" name="mesh" type="Mesh">
			</argument>
			<description>
			</description>
		</method>
		<method name="get_polygon">
			<return type="PoolIntArray">
			</return>
			<argument index="0" name="idx" type="int">
			</argument>
			<description>
			</description>
		</method>
		<method name="get_polygon_count" qualifiers="const">
			<return type="int">
			</return>
			<description>
			</description>
		</method>
	</methods>
	<members>
		<member name="agent/height" type="float" setter="set_agent_height" getter="get_agent_height">
		</member>
		<member name="agent/max_climb" type="float" setter="set_agent_max_climb" getter="get_agent_max_climb">
		</member>
		<member name="agent/max_slope" type="float" setter="set_agent_max_slope" getter="get_agent_max_slope">
		</member>
		<member name="agent/radius" type="float" setter="set_agent_radius" getter="get_agent_radius">
		</member>
		<member name="cell/height" type="float" setter="set_cell_height" getter="get_cell_height">
		</member>
		<member name="cell/size" type="float" setter="set_cell_size" getter="get_cell_size">
		</member>
		<member name="detail/sample_distance" type="float" setter="set_detail_sample_distance" getter="get_detail_sample_distance">
		</member>
		<member name="detail/sample_max_error" type="float" setter="set_detail_sample_max_error" getter="get_detail_sample_max_error">
		</member>
		<member name="edge/max_error" type="float" setter="set_edge_max_error" getter="get_edge_max_error">
		</member>
		<member name="edge/max_length" type="float" setter="set_edge_max_length" getter="get_edge_max_length">
		</member>
		<member name="filter/filter_walkable_low_height_spans" type="bool" setter="set_filter_walkable_low_height_spans" getter="get_filter_walkable_low_height_spans">
		</member>
		<member name="filter/ledge_spans" type="bool" setter="set_filter_ledge_spans" getter="get_filter_ledge_spans">
		</member>
		<member name="filter/low_hanging_obstacles" type="bool" setter="set_filter_low_hanging_obstacles" getter="get_filter_low_hanging_obstacles">
		</member>
		<member name="polygon/verts_per_poly" type="float" setter="set_verts_per_poly" getter="get_verts_per_poly">
		</member>
		<member name="polygons" type="Array" setter="_set_polygons" getter="_get_polygons">
		</member>
		<member name="region/merge_size" type="float" setter="set_region_merge_size" getter="get_region_merge_size">
		</member>
		<member name="region/min_size" type="float" setter="set_region_min_size" getter="get_region_min_size">
		</member>
		<member name="sample_partition_type/sample_partition_type" type="int" setter="set_sample_partition_type" getter="get_sample_partition_type">
		</member>
		<member name="vertices" type="PoolVector3Array" setter="set_vertices" getter="get_vertices">
		</member>
	</members>
	<constants>
		<constant name="SAMPLE_PARTITION_WATERSHED" value="0">
		</constant>
		<constant name="SAMPLE_PARTITION_MONOTONE" value="1">
		</constant>
		<constant name="SAMPLE_PARTITION_LAYERS" value="2">
		</constant>
	</constants>
</class>