SKAction.CreateChangeMassBy(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.
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