共用方式為


SKAction.FalloffTo(Single, Double) 方法

定義

傳回動作,此動作會以動畫顯示物理欄位的效果會依距離減少的速率。

[Foundation.Export("falloffTo:duration:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 10, ObjCRuntime.PlatformArchitecture.All, null)]
public static SpriteKit.SKAction FalloffTo (float falloff, double sec);
static member FalloffTo : single * double -> SpriteKit.SKAction

參數

falloff
Single
sec
Double

傳回

屬性

適用於