共用方式為


SKAction.CreateChangeMassBy(Single, Double) 方法

定義

Mass依指定的數量改變 的 SKPhysicsBody

[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

參數

by
Single
duration
Double

傳回

屬性

適用於