0.2.0-dev Download ZIP
32 lines ·1.4 KB Raw
| 1 | <?xml version="1.0" encoding="UTF-8" ?> |
| 2 | <class name="Path3D" inherits="Node3D" api_type="core" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd"> |
| 3 | <brief_description> |
| 4 | Contains a [Curve3D] path for [PathFollow3D] nodes to follow. |
| 5 | </brief_description> |
| 6 | <description> |
| 7 | Can have [PathFollow3D] child nodes moving along the [Curve3D]. See [PathFollow3D] for more information on the usage. |
| 8 | Note that the path is considered as relative to the moved nodes (children of [PathFollow3D]). As such, the curve should usually start with a zero vector [code](0, 0, 0)[/code]. |
| 9 | </description> |
| 10 | <tutorials> |
| 11 | </tutorials> |
| 12 | <members> |
| 13 | <member name="curve" type="Curve3D" setter="set_curve" getter="get_curve"> |
| 14 | A [Curve3D] describing the path. |
| 15 | </member> |
| 16 | <member name="debug_custom_color" type="Color" setter="set_debug_custom_color" getter="get_debug_custom_color" default="Color(0, 0, 0, 1)"> |
| 17 | The custom color used to draw the path in the editor. If set to [constant Color.BLACK] (as by default), the color set in [member ProjectSettings.debug/shapes/paths/geometry_color] is used. |
| 18 | </member> |
| 19 | </members> |
| 20 | <signals> |
| 21 | <signal name="curve_changed"> |
| 22 | <description> |
| 23 | Emitted when the [member curve] changes. |
| 24 | </description> |
| 25 | </signal> |
| 26 | <signal name="debug_color_changed"> |
| 27 | <description> |
| 28 | Emitted when the [member debug_custom_color] changes. |
| 29 | </description> |
| 30 | </signal> |
| 31 | </signals> |
| 32 | </class> |