godot/doc/classes/Path.xml

33 lines
1.2 KiB
XML
Raw Normal View History

<?xml version="1.0" encoding="UTF-8" ?>
2019-04-01 10:33:56 +00:00
<class name="Path" inherits="Spatial" category="Core" version="3.2">
<brief_description>
Contains a [Curve3D] path for [PathFollow] nodes to follow.
</brief_description>
<description>
Can have [PathFollow] child nodes moving along the [Curve3D]. See [PathFollow] for more information on the usage.
Note that the path is considered as relative to the moved nodes (children of [PathFollow]). As such, the curve should usually start with a zero vector [code](0, 0, 0)[/code].
</description>
<tutorials>
</tutorials>
<methods>
</methods>
<members>
<member name="curve" type="Curve3D" setter="set_curve" getter="get_curve" default="Object(Curve3D,&quot;resource_local_to_scene&quot;:false,&quot;resource_name&quot;:&quot;&quot;,&quot;bake_interval&quot;:0.2,&quot;_data&quot;:{
&quot;points&quot;: PoolVector3Array( ),
&quot;tilts&quot;: PoolRealArray( )
},&quot;up_vector_enabled&quot;:true,&quot;script&quot;:null)
">
A [Curve3D] describing the path.
</member>
</members>
2018-05-12 07:38:00 +00:00
<signals>
<signal name="curve_changed">
<description>
Emitted when the [member curve] changes.
2018-05-12 07:38:00 +00:00
</description>
</signal>
</signals>
<constants>
</constants>
</class>