Compartir a través de


SKAction.CreateChangeMassBy(Single, Double) Método

Definición

Modifica el Mass de un SKPhysicsBody objeto por la cantidad especificada.

[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

Parámetros

by
Single
duration
Double

Devoluciones

Atributos

Se aplica a