Contains a Curve2D path for PathFollow2D nodes to follow.
    public class Path2D : Node2D

Can have PathFollow2D child nodes moving along the Curve2D. See PathFollow2D for more information on usage.

Note: The path is considered as relative to the moved nodes (children of PathFollow2D). As such, the curve should usually start with a zero vector ((0, 0)).

Inheritance Chain

Constructors

    public Path2D()

Properties

    public Curve2D Curve { get; set; }

A Curve2D describing the path.

Methods

    [Obsolete("GetCurve is deprecated. Use the Curve property instead.")]
    public Curve2D GetCurve()

Getter for Curve

    [Obsolete("SetCurve is deprecated. Use the Curve property instead.")]
    public void SetCurve(Curve2D curve)

Setter for Curve

Tags: