Edytuj

Udostępnij za pośrednictwem


SKAction.StrengthTo(Single, Double) Method

Definition

Creates an action that changes the Strength property of the SKFieldNode to which is applied to the specified value over sec seconds.

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

Parameters

strength
Single
sec
Double

Returns

Attributes

Applies to