Path2D.xml 1008 B

1234567891011121314151617181920212223
  1. <?xml version="1.0" encoding="UTF-8" ?>
  2. <class name="Path2D" inherits="Node2D" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd">
  3. <brief_description>
  4. Contains a [Curve2D] path for [PathFollow2D] nodes to follow.
  5. </brief_description>
  6. <description>
  7. Can have [PathFollow2D] child nodes moving along the [Curve2D]. See [PathFollow2D] for more information on usage.
  8. [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]).
  9. </description>
  10. <tutorials>
  11. </tutorials>
  12. <methods>
  13. </methods>
  14. <members>
  15. <member name="curve" type="Curve2D" setter="set_curve" getter="get_curve">
  16. A [Curve2D] describing the path.
  17. </member>
  18. <member name="self_modulate" type="Color" setter="set_self_modulate" getter="get_self_modulate" overrides="CanvasItem" default="Color( 0.5, 0.6, 1, 0.7 )" />
  19. </members>
  20. <constants>
  21. </constants>
  22. </class>