SKAction.SetNormalTexture 方法

定义

重载

SetNormalTexture(SKTexture)

工厂方法,用于创建更改 SKActionNormalTextureSKSpriteNode

SetNormalTexture(SKTexture, Boolean)

工厂方法,用于创建更改 SKActionNormalTextureSKSpriteNode

SetNormalTexture(SKTexture)

工厂方法,用于创建更改 SKActionNormalTextureSKSpriteNode

[Foundation.Export("setNormalTexture:")]
[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 SetNormalTexture (SpriteKit.SKTexture texture);
static member SetNormalTexture : SpriteKit.SKTexture -> SpriteKit.SKAction

参数

texture
SKTexture

返回

属性

适用于

SetNormalTexture(SKTexture, Boolean)

工厂方法,用于创建更改 SKActionNormalTextureSKSpriteNode

[Foundation.Export("setNormalTexture:resize:")]
[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 SetNormalTexture (SpriteKit.SKTexture texture, bool resize);
static member SetNormalTexture : SpriteKit.SKTexture * bool -> SpriteKit.SKAction

参数

texture
SKTexture
resize
Boolean

返回

属性

适用于