SKAction.CreateChangeMassTo(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.
Sets to newMass
the Mass of a SKPhysicsBody by the specified amount.
[Foundation.Export("changeMassTo: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 CreateChangeMassTo (float newMass, double duration);
static member CreateChangeMassTo : single * double -> SpriteKit.SKAction
Parameters
- newMass
- Single
- duration
- Double
Returns
- Attributes