SKAction.FalloffTo(Single, Double) Method

Definition

Returns an action that animates the rate at which the effect of a physics field is reduced by 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

Parameters

falloff
Single
sec
Double

Returns

Attributes

Applies to