Edit

Share via


SKAction.CreateChangeChargeBy(Single, Double) Method

Definition

Factory method to create a SKAction that changes the Charge by the specified amount of a SKNode object's PhysicsBody.

[Foundation.Export("changeChargeBy:duration:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 11, ObjCRuntime.PlatformArchitecture.Arch64, null)]
public static SpriteKit.SKAction CreateChangeChargeBy (float by, double duration);
static member CreateChangeChargeBy : single * double -> SpriteKit.SKAction

Parameters

by
Single
duration
Double

Returns

Attributes

Applies to