class flixel.tweens.motion.QuadMotion extends Motion
Available on all platforms
Determines motion along a quadratic curve.
Instance Fields
function setMotion(FromX:Float, FromY:Float, ControlX:Float, ControlY:Float, ToX:Float, ToY:Float, DurationOrSpeed:Float, ?UseDuration:Bool = true):QuadMotion
Starts moving along the curve. * *
FromX | X start. * |
FromY | Y start. * |
ControlX | X control, used to determine the curve. * |
ControlY | Y control, used to determine the curve. * |
ToX | X finish. * |
ToY | Y finish. * |
DurationOrSpeed | Duration or speed of the movement. * |
UseDuration | Duration of the movement. |