共用方式為


SKAction.Animate 方法

定義

多載

Animate(SKWarpGeometry[], NSNumber[])

建立並傳回動作,該動作會在指定的時間透過提供的幾何扭曲節點。

Animate(SKWarpGeometry[], NSNumber[], Boolean)

建立並傳回動作,該動作會在指定的時間透過提供的幾何扭曲節點。

Animate(SKWarpGeometry[], NSNumber[])

建立並傳回動作,該動作會在指定的時間透過提供的幾何扭曲節點。

[Foundation.Export("animateWithWarps:times:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 12, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public static SpriteKit.SKAction Animate (SpriteKit.SKWarpGeometry[] warps, Foundation.NSNumber[] times);
static member Animate : SpriteKit.SKWarpGeometry[] * Foundation.NSNumber[] -> SpriteKit.SKAction

參數

warps
SKWarpGeometry[]
times
NSNumber[]

傳回

屬性

適用於

Animate(SKWarpGeometry[], NSNumber[], Boolean)

建立並傳回動作,該動作會在指定的時間透過提供的幾何扭曲節點。

[Foundation.Export("animateWithWarps:times:restore:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 12, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public static SpriteKit.SKAction Animate (SpriteKit.SKWarpGeometry[] warps, Foundation.NSNumber[] times, bool restore);
static member Animate : SpriteKit.SKWarpGeometry[] * Foundation.NSNumber[] * bool -> SpriteKit.SKAction

參數

warps
SKWarpGeometry[]
times
NSNumber[]
restore
Boolean

傳回

屬性

適用於