Edit

Share via


SKAction.ReachTo Method

Definition

Overloads

ReachTo(CGPoint, SKNode, Double)
ReachTo(CGPoint, SKNode, nfloat)

ReachTo(CGPoint, SKNode, Double)

[Foundation.Export("reachTo:rootNode:duration:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 10, ObjCRuntime.PlatformArchitecture.All, null)]
public static SpriteKit.SKAction ReachTo (CoreGraphics.CGPoint position, SpriteKit.SKNode rootNode, double secs);
static member ReachTo : CoreGraphics.CGPoint * SpriteKit.SKNode * double -> SpriteKit.SKAction

Parameters

position
CGPoint
rootNode
SKNode
secs
Double

Returns

Attributes

Applies to

ReachTo(CGPoint, SKNode, nfloat)

[Foundation.Export("reachTo:rootNode:velocity:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 10, ObjCRuntime.PlatformArchitecture.All, null)]
public static SpriteKit.SKAction ReachTo (CoreGraphics.CGPoint position, SpriteKit.SKNode rootNode, nfloat velocity);
static member ReachTo : CoreGraphics.CGPoint * SpriteKit.SKNode * nfloat -> SpriteKit.SKAction

Parameters

position
CGPoint
rootNode
SKNode
velocity
nfloat

Returns

Attributes

Applies to