共用方式為


SKAction.AnimateWithNormalTextures 方法

定義

多載

AnimateWithNormalTextures(SKTexture[], Double)

建立 SKAction 的 Factory 方法,以動畫顯示物件 之 的 NormalTexture 變更 SKSpriteNode

AnimateWithNormalTextures(SKTexture[], Double, Boolean, Boolean)

建立 SKAction 的 Factory 方法,以動畫顯示物件 之 的 NormalTexture 變更 SKSpriteNode

AnimateWithNormalTextures(SKTexture[], Double)

建立 SKAction 的 Factory 方法,以動畫顯示物件 之 的 NormalTexture 變更 SKSpriteNode

[Foundation.Export("animateWithNormalTextures:timePerFrame:")]
[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 AnimateWithNormalTextures (SpriteKit.SKTexture[] textures, double secondsPerFrame);
static member AnimateWithNormalTextures : SpriteKit.SKTexture[] * double -> SpriteKit.SKAction

參數

textures
SKTexture[]
secondsPerFrame
Double

傳回

屬性

適用於

AnimateWithNormalTextures(SKTexture[], Double, Boolean, Boolean)

建立 SKAction 的 Factory 方法,以動畫顯示物件 之 的 NormalTexture 變更 SKSpriteNode

[Foundation.Export("animateWithNormalTextures:timePerFrame:resize:restore:")]
[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 AnimateWithNormalTextures (SpriteKit.SKTexture[] textures, double secondsPerFrame, bool resize, bool restore);
static member AnimateWithNormalTextures : SpriteKit.SKTexture[] * double * bool * bool -> SpriteKit.SKAction

參數

textures
SKTexture[]
secondsPerFrame
Double
resize
Boolean
restore
Boolean

傳回

屬性

適用於