Compartilhar via


SKAction.CreateChangeMassBy(Single, Double) Método

Definição

Altera o Mass de um SKPhysicsBody pelo valor especificado.

[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

Retornos

Atributos

Aplica-se a