Skip to content
0.2.0-dev Download ZIP
17 lines ·814 B Raw
1<?xml version="1.0" encoding="UTF-8" ?>
2<class name="Path2D" inherits="Node2D" api_type="core" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd">
3 <brief_description>
4 Contains a [Curve2D] path for [PathFollow2D] nodes to follow.
5 </brief_description>
6 <description>
7 Can have [PathFollow2D] child nodes moving along the [Curve2D]. See [PathFollow2D] for more information on usage.
8 [b]Note:[/b] The path is considered as relative to the moved nodes (children of [PathFollow2D]). As such, the curve should usually start with a zero vector ([code](0, 0)[/code]).
9 </description>
10 <tutorials>
11 </tutorials>
12 <members>
13 <member name="curve" type="Curve2D" setter="set_curve" getter="get_curve">
14 A [Curve2D] describing the path.
15 </member>
16 </members>
17</class>