Edit

Share via


SKAction.StrengthBy(Single, Double) Method

Definition

Creates an action that adds strength to the Strength property of the SKFieldNode to which is applied, over sec seconds.

[Foundation.Export("strengthBy: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 StrengthBy (float strength, double sec);
static member StrengthBy : single * double -> SpriteKit.SKAction

Parameters

strength
Single
sec
Double

Returns

Attributes

Applies to