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
| Name | Description |
|---|---|
| MoveBy(CGVector, Double) | |
| MoveBy(NFloat, NFloat, Double) |
MoveBy(CGVector, Double)
[Foundation.Export("moveBy:duration:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static SpriteKit.SKAction MoveBy(CoreGraphics.CGVector delta, double duration);
[<Foundation.Export("moveBy:duration:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
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:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static SpriteKit.SKAction MoveBy(System.Runtime.InteropServices.NFloat deltaX, System.Runtime.InteropServices.NFloat deltaY, double sec);
[<Foundation.Export("moveByX:y:duration:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member MoveBy : System.Runtime.InteropServices.NFloat * System.Runtime.InteropServices.NFloat * double -> SpriteKit.SKAction
Parameters
- deltaX
- NFloat
- deltaY
- NFloat
- sec
- Double
Returns
- Attributes