mirror of
https://github.com/godotengine/godot.git
synced 2024-11-27 09:16:35 +08:00
22 lines
758 B
XML
22 lines
758 B
XML
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<class name="Path2D" inherits="Node2D" category="Core" version="3.2">
|
|
<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.
|
|
Note that the path is considered as relative to the moved nodes (children of [PathFollow2D]) - usually the curve should start with a zero vector (0, 0).
|
|
</description>
|
|
<tutorials>
|
|
</tutorials>
|
|
<methods>
|
|
</methods>
|
|
<members>
|
|
<member name="curve" type="Curve2D" setter="set_curve" getter="get_curve">
|
|
A [Curve2D] describing the path.
|
|
</member>
|
|
</members>
|
|
<constants>
|
|
</constants>
|
|
</class>
|