SKAction.CreateChangeMassBy(Single, Double) Method

Definition

Alters the Mass of a SKPhysicsBody by the specified amount.

[Foundation.Export("changeMassBy: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 CreateChangeMassBy (float by, double duration);
static member CreateChangeMassBy : single * double -> SpriteKit.SKAction

Parameters

by
Single
duration
Double

Returns

Attributes

Applies to