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