SKAction.CreateApplyForce Método
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
Sobrecargas
CreateApplyForce(CGVector, Double) |
Método de fábrica para criar um SKAction que se aplica |
CreateApplyForce(CGVector, CGPoint, Double) |
CreateApplyForce(CGVector, Double)
Método de fábrica para criar um SKAction que se aplica force
ao centro de gravidade de um SKNode objeto .PhysicsBody
[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
Parâmetros
- force
- CGVector
- duration
- Double
Retornos
- Atributos
Aplica-se a
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
Parâmetros
- force
- CGVector
- point
- CGPoint
- duration
- Double
Retornos
- Atributos