Path2D
继承: Node2D < CanvasItem < Node < Object
包含一个 Curve2D 路径,供 PathFollow2D 节点遵循。
描述
可以让 PathFollow2D 子节点沿着 Curve2D 移动。有关用法的更多信息,请参阅 PathFollow2D。
注意:该路径被认为是相对于移动的节点(PathFollow2D 的子节点)。因此,曲线通常以零向量((0,0)
)开始。
属性
属性说明
Curve2D curve
描述路径的 Curve2D。
© 版权所有 2014-present Juan Linietsky, Ariel Manzur and the Godot community (CC BY 3.0). Revision b1c660f7
.
Built with Sphinx using a theme provided by Read the Docs.