編集

次の方法で共有


SKAction.MoveBy Method

Definition

Overloads

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.

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

Applies to

MoveBy(nfloat, nfloat, Double)

[Foundation.Export("moveByX:y:duration:")]
public static SpriteKit.SKAction MoveBy (nfloat deltaX, nfloat deltaY, double sec);
static member MoveBy : nfloat * nfloat * double -> SpriteKit.SKAction

Parameters

deltaX
nfloat
deltaY
nfloat
sec
Double

Returns

Attributes

Applies to