Compartir a través de


SKAction.FollowPath Método

Definición

Sobrecargas

FollowPath(CGPath, Boolean, Boolean, nfloat)

Crea una acción que mueve el en el SKNode que se ejecuta sobre path, con el desplazamiento, la orientación y la velocidad especificados.

FollowPath(CGPath, Boolean, Boolean, Double)

Crea una acción que mueve el SKNode en el que se ejecuta sobre path, con el desplazamiento y la orientación especificados, tardando sec segundos.

FollowPath(CGPath, nfloat)

Crea una acción que mueve el SKNode en el que se ejecuta a través de path, en el especificado speed.

FollowPath(CGPath, Double)

Crea una acción que mueve el SKNode en el que se ejecuta a través de path, tardando sec segundos.

FollowPath(CGPath, Boolean, Boolean, nfloat)

Crea una acción que mueve el en el SKNode que se ejecuta sobre path, con el desplazamiento, la orientación y la velocidad especificados.

[Foundation.Export("followPath:asOffset:orientToPath:speed:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 10, ObjCRuntime.PlatformArchitecture.All, null)]
public static SpriteKit.SKAction FollowPath (CoreGraphics.CGPath path, bool offset, bool orient, nfloat speed);
static member FollowPath : CoreGraphics.CGPath * bool * bool * nfloat -> SpriteKit.SKAction

Parámetros

path
CGPath
offset
Boolean
orient
Boolean
speed
nfloat

Devoluciones

Atributos

Se aplica a

FollowPath(CGPath, Boolean, Boolean, Double)

Crea una acción que mueve el SKNode en el que se ejecuta sobre path, con el desplazamiento y la orientación especificados, tardando sec segundos.

[Foundation.Export("followPath:asOffset:orientToPath:duration:")]
public static SpriteKit.SKAction FollowPath (CoreGraphics.CGPath path, bool offset, bool orient, double sec);
static member FollowPath : CoreGraphics.CGPath * bool * bool * double -> SpriteKit.SKAction

Parámetros

path
CGPath
offset
Boolean
orient
Boolean
sec
Double

Devoluciones

Atributos

Se aplica a

FollowPath(CGPath, nfloat)

Crea una acción que mueve el SKNode en el que se ejecuta a través de path, en el especificado speed.

[Foundation.Export("followPath:speed:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 10, ObjCRuntime.PlatformArchitecture.All, null)]
public static SpriteKit.SKAction FollowPath (CoreGraphics.CGPath path, nfloat speed);
static member FollowPath : CoreGraphics.CGPath * nfloat -> SpriteKit.SKAction

Parámetros

path
CGPath
speed
nfloat

Devoluciones

Atributos

Se aplica a

FollowPath(CGPath, Double)

Crea una acción que mueve el SKNode en el que se ejecuta a través de path, tardando sec segundos.

[Foundation.Export("followPath:duration:")]
public static SpriteKit.SKAction FollowPath (CoreGraphics.CGPath path, double sec);
static member FollowPath : CoreGraphics.CGPath * double -> SpriteKit.SKAction

Parámetros

path
CGPath
sec
Double

Devoluciones

Atributos

Se aplica a