SKAction.MoveTo(CGPoint, Double) 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.
[Foundation.Export("moveTo:duration:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static SpriteKit.SKAction MoveTo(CoreGraphics.CGPoint location, double sec);
[<Foundation.Export("moveTo:duration:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member MoveTo : CoreGraphics.CGPoint * double -> SpriteKit.SKAction
Parameters
- location
- CGPoint
- sec
- Double
Returns
- Attributes