SKAction.FalloffBy(Single, Double) Méthode

Définition

Retourne une action qui anime la vitesse à laquelle l’effet d’un champ physique est réduit par la distance.

[Foundation.Export("falloffBy:duration:")]
[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 FalloffBy (float to, double duration);
static member FalloffBy : single * double -> SpriteKit.SKAction

Paramètres

to
Single
duration
Double

Retours

Attributs

S’applique à