summaryrefslogtreecommitdiff
path: root/doc/classes/Path2D.xml
blob: 722e0c12402fd02dcfc22eddd55307ca0c8ce1dd (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
<?xml version="1.0" encoding="UTF-8" ?>
<class name="Path2D" inherits="Node2D" category="Core" version="3.0.alpha.custom_build">
	<brief_description>
		Contains a [Curve2D] path for [PathFollow2D] nodes to follow.
	</brief_description>
	<description>
		Can have [PathFollow2D] child-nodes moving along the [Curve2D]. See [PathFollow2D] for more information on this usage.
	</description>
	<tutorials>
	</tutorials>
	<demos>
	</demos>
	<methods>
		<method name="get_curve" qualifiers="const">
			<return type="Curve2D">
			</return>
			<description>
				Returns the [Curve2D] contained.
			</description>
		</method>
		<method name="set_curve">
			<return type="void">
			</return>
			<argument index="0" name="curve" type="Curve2D">
			</argument>
			<description>
				Sets the [Curve2D].
			</description>
		</method>
	</methods>
	<members>
		<member name="curve" type="Curve2D" setter="set_curve" getter="get_curve">
			A [Curve2D] describing the path.
		</member>
	</members>
	<constants>
	</constants>
</class>