SKAction.ReachTo 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
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