Freigeben über


SKAction.CreateApplyForce Methode

Definition

Überlädt

CreateApplyForce(CGVector, Double)

Factory-Methode, um eine SKAction zu erstellen, die auf den Schwerpunkt des SKNode -Objekts PhysicsBodyangewendet wirdforce.

CreateApplyForce(CGVector, CGPoint, Double)

CreateApplyForce(CGVector, Double)

Factory-Methode, um eine SKAction zu erstellen, die auf den Schwerpunkt des SKNode -Objekts PhysicsBodyangewendet wirdforce.

[Foundation.Export("applyForce: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 CreateApplyForce (CoreGraphics.CGVector force, double duration);
static member CreateApplyForce : CoreGraphics.CGVector * double -> SpriteKit.SKAction

Parameter

force
CGVector
duration
Double

Gibt zurück

Attribute

Gilt für:

CreateApplyForce(CGVector, CGPoint, Double)

[Foundation.Export("applyForce: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 CreateApplyForce (CoreGraphics.CGVector force, CoreGraphics.CGPoint point, double duration);
static member CreateApplyForce : CoreGraphics.CGVector * CoreGraphics.CGPoint * double -> SpriteKit.SKAction

Parameter

force
CGVector
point
CGPoint
duration
Double

Gibt zurück

Attribute

Gilt für: