SKAction.FollowPath Méthode

Définition

Surcharges

FollowPath(CGPath, Boolean, Boolean, nfloat)

Crée une action qui déplace le SKNode sur lequel elle est exécutée sur le path, avec le décalage, l’orientation et la vitesse spécifiés.

FollowPath(CGPath, Boolean, Boolean, Double)

Crée une action qui déplace le SKNode sur lequel elle est exécutée sur le path, avec le décalage et l’orientation spécifiés, ce qui prend quelques sec secondes.

FollowPath(CGPath, nfloat)

Crée une action qui déplace le SKNode sur lequel elle est exécutée sur le path, au niveau du spécifié speed.

FollowPath(CGPath, Double)

Crée une action qui déplace le SKNode sur lequel elle est exécutée sur le path, en quelques sec secondes.

FollowPath(CGPath, Boolean, Boolean, nfloat)

Crée une action qui déplace le SKNode sur lequel elle est exécutée sur le path, avec le décalage, l’orientation et la vitesse spécifiés.

[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

Paramètres

path
CGPath
offset
Boolean
orient
Boolean
speed
nfloat

Retours

Attributs

S’applique à

FollowPath(CGPath, Boolean, Boolean, Double)

Crée une action qui déplace le SKNode sur lequel elle est exécutée sur le path, avec le décalage et l’orientation spécifiés, ce qui prend quelques sec secondes.

[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

Paramètres

path
CGPath
offset
Boolean
orient
Boolean
sec
Double

Retours

Attributs

S’applique à

FollowPath(CGPath, nfloat)

Crée une action qui déplace le SKNode sur lequel elle est exécutée sur le path, au niveau du spécifié 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

Paramètres

path
CGPath
speed
nfloat

Retours

Attributs

S’applique à

FollowPath(CGPath, Double)

Crée une action qui déplace le SKNode sur lequel elle est exécutée sur le path, en quelques sec secondes.

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

Paramètres

path
CGPath
sec
Double

Retours

Attributs

S’applique à