38 lines
1,015 B
XML
38 lines
1,015 B
XML
<?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>
|