SKAction.FalloffTo(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("falloffTo: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 FalloffTo (float falloff, double sec);
static member FalloffTo : single * double -> SpriteKit.SKAction

Paramètres

falloff
Single
sec
Double

Retours

Attributs

S’applique à