SKAction.FalloffBy(Single, Double) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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