SKAction.CreateApplyImpulse 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
CreateApplyImpulse(CGVector, Double)
[Foundation.Export("applyImpulse:duration:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static SpriteKit.SKAction CreateApplyImpulse(CoreGraphics.CGVector impulse, double duration);
[<Foundation.Export("applyImpulse:duration:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
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.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static SpriteKit.SKAction CreateApplyImpulse(CoreGraphics.CGVector impulse, CoreGraphics.CGPoint point, double duration);
[<Foundation.Export("applyImpulse:atPoint:duration:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member CreateApplyImpulse : CoreGraphics.CGVector * CoreGraphics.CGPoint * double -> SpriteKit.SKAction
Parameters
- impulse
- CGVector
- point
- CGPoint
- duration
- Double
Returns
- Attributes