SKAction.CreateChangeChargeTo(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.
Factory method to create a SKAction that changes the Charge the specified of a SKNode object's PhysicsBody to newCharge
.
[Foundation.Export("changeChargeTo: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 CreateChangeChargeTo (float newCharge, double duration);
static member CreateChangeChargeTo : single * double -> SpriteKit.SKAction
Parameters
- newCharge
- Single
- duration
- Double
Returns
- Attributes