Compartir a través de


SKAction.CreateChangeMassTo(Single, Double) Método

Definición

Establece en newMass el Mass de un SKPhysicsBody objeto por la cantidad especificada.

[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

Parámetros

newMass
Single
duration
Double

Devoluciones

Atributos

Se aplica a