Bearbeiten

Freigeben über


SKAction.FalloffBy(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("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

Parameters

to
Single
duration
Double

Returns

Attributes

Applies to