SKAction.SetNormalTexture Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
SetNormalTexture(SKTexture) |
Factory method that creates a SKAction that changes the NormalTexture of a SKSpriteNode. |
SetNormalTexture(SKTexture, Boolean) |
Factory method that creates a SKAction that changes the NormalTexture of a SKSpriteNode. |
SetNormalTexture(SKTexture)
Factory method that creates a SKAction that changes the NormalTexture of a SKSpriteNode.
[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
Parameters
- texture
- SKTexture
Returns
- Attributes
Applies to
SetNormalTexture(SKTexture, Boolean)
Factory method that creates a SKAction that changes the NormalTexture of a SKSpriteNode.
[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
Parameters
- texture
- SKTexture
- resize
- Boolean
Returns
- Attributes