2017-09-12 22:42:36 +02:00
<?xml version="1.0" encoding="UTF-8" ?>
2020-02-01 02:03:48 +01:00
<class name= "Path2D" inherits= "Node2D" version= "4.0" >
2017-09-12 22:42:36 +02:00
<brief_description >
2017-10-22 22:43:35 +02:00
Contains a [Curve2D] path for [PathFollow2D] nodes to follow.
2017-09-12 22:42:36 +02:00
</brief_description>
<description >
2019-06-22 01:04:47 +02:00
Can have [PathFollow2D] child nodes moving along the [Curve2D]. See [PathFollow2D] for more information on usage.
[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]).
2017-09-12 22:42:36 +02:00
</description>
<tutorials >
</tutorials>
<methods >
</methods>
<members >
2019-07-15 20:42:47 +02:00
<member name= "curve" type= "Curve2D" setter= "set_curve" getter= "get_curve" >
2017-10-22 22:43:35 +02:00
A [Curve2D] describing the path.
2017-09-12 22:42:36 +02:00
</member>
2019-09-24 13:34:03 +02:00
<member name= "self_modulate" type= "Color" setter= "set_self_modulate" getter= "get_self_modulate" override= "true" default= "Color( 0.5, 0.6, 1, 0.7 )" />
2017-09-12 22:42:36 +02:00
</members>
<constants >
</constants>
</class>