Documentation
¶
Overview ¶
Package PathFollow2D provides methods for working with PathFollow2D object instances.
Index ¶
- type Advanced
- type Any
- type Instance
- func (self Instance) AsCanvasItem() CanvasItem.Instance
- func (self Instance) AsNode() Node.Instance
- func (self Instance) AsNode2D() Node2D.Instance
- func (self Instance) AsObject() [1]gd.Object
- func (self Instance) AsPathFollow2D() Instance
- func (self Instance) CubicInterp() bool
- func (self Instance) HOffset() Float.X
- func (self Instance) Loop() bool
- func (self Instance) Progress() Float.X
- func (self Instance) ProgressRatio() Float.X
- func (self Instance) Rotates() bool
- func (self Instance) SetCubicInterp(value bool)
- func (self Instance) SetHOffset(value Float.X)
- func (self Instance) SetLoop(value bool)
- func (self Instance) SetProgress(value Float.X)
- func (self Instance) SetProgressRatio(value Float.X)
- func (self Instance) SetRotates(value bool)
- func (self Instance) SetVOffset(value Float.X)
- func (self *Instance) UnsafePointer() unsafe.Pointer
- func (self Instance) VOffset() Float.X
- func (self Instance) Virtual(name string) reflect.Value
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Advanced ¶
type Advanced = class
Advanced exposes a 1:1 low-level instance of the class, undocumented, for those who know what they are doing.
type Instance ¶
type Instance [1]gdclass.PathFollow2D
This node takes its parent [Path2D], and returns the coordinates of a point within it, given a distance from the first vertex. It is useful for making other nodes follow a path, without coding the movement pattern. For that, the nodes must be children of this node. The descendant nodes will then move accordingly when setting the [member progress] in this node.
var Nil Instance
Nil is a nil/null instance of the class. Equivalent to the zero value.
func (Instance) AsCanvasItem ¶
func (self Instance) AsCanvasItem() CanvasItem.Instance