virtualx-engine/doc/classes/Path2D.xml

39 lines
1,002 B
XML
Raw Normal View History

<?xml version="1.0" encoding="UTF-8" ?>
<class name="Path2D" inherits="Node2D" category="Core" version="3.0-alpha">
<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>