SKAction.MoveBy Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
MoveBy(CGVector, Double) |
Creates an action that moves the SKNode on which it is run in the magnitude and direction of |
MoveBy(nfloat, nfloat, Double) |
MoveBy(CGVector, Double)
Creates an action that moves the SKNode on which it is run in the magnitude and direction of delta
, over duration
seconds.
[Foundation.Export("moveBy:duration:")]
public static SpriteKit.SKAction MoveBy (CoreGraphics.CGVector delta, double duration);
static member MoveBy : CoreGraphics.CGVector * double -> SpriteKit.SKAction
Parameters
- delta
- CGVector
- duration
- Double
Returns
- Attributes