Modifica

Condividi tramite


SKPhysicsBody.ApplyImpulse Method

Definition

Overloads

ApplyImpulse(CGVector, CGPoint)

Applies an impulse, in Newton-seconds, to the physics body through the specified point.

ApplyImpulse(CGVector)

Applies an impulse, in Newton-seconds, through the center of mass of the physics body.

ApplyImpulse(CGVector, CGPoint)

Applies an impulse, in Newton-seconds, to the physics body through the specified point.

[Foundation.Export("applyImpulse:atPoint:")]
public virtual void ApplyImpulse (CoreGraphics.CGVector impulse, CoreGraphics.CGPoint point);
abstract member ApplyImpulse : CoreGraphics.CGVector * CoreGraphics.CGPoint -> unit
override this.ApplyImpulse : CoreGraphics.CGVector * CoreGraphics.CGPoint -> unit

Parameters

impulse
CGVector
point
CGPoint
Attributes

Applies to

ApplyImpulse(CGVector)

Applies an impulse, in Newton-seconds, through the center of mass of the physics body.

[Foundation.Export("applyImpulse:")]
public virtual void ApplyImpulse (CoreGraphics.CGVector impulse);
abstract member ApplyImpulse : CoreGraphics.CGVector -> unit
override this.ApplyImpulse : CoreGraphics.CGVector -> unit

Parameters

impulse
CGVector
Attributes

Applies to