SKAction.CreateApplyImpulse Method

Definition

Overloads

CreateApplyImpulse(CGVector, Double)

Factory method to create a SKAction that applies the specified impulse to the center of gravity of a SKNode object's PhysicsBody.

CreateApplyImpulse(CGVector, CGPoint, Double)

CreateApplyImpulse(CGVector, Double)

Factory method to create a SKAction that applies the specified impulse to the center of gravity of a SKNode object's PhysicsBody.

[Foundation.Export("applyImpulse:duration:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 11, ObjCRuntime.PlatformArchitecture.Arch64, null)]
public static SpriteKit.SKAction CreateApplyImpulse (CoreGraphics.CGVector impulse, double duration);
static member CreateApplyImpulse : CoreGraphics.CGVector * double -> SpriteKit.SKAction

Parameters

impulse
CGVector
duration
Double

Returns

Attributes

Applies to

CreateApplyImpulse(CGVector, CGPoint, Double)

[Foundation.Export("applyImpulse:atPoint:duration:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 11, ObjCRuntime.PlatformArchitecture.Arch64, null)]
public static SpriteKit.SKAction CreateApplyImpulse (CoreGraphics.CGVector impulse, CoreGraphics.CGPoint point, double duration);
static member CreateApplyImpulse : CoreGraphics.CGVector * CoreGraphics.CGPoint * double -> SpriteKit.SKAction

Parameters

impulse
CGVector
point
CGPoint
duration
Double

Returns

Attributes

Applies to