SKTextureAtlas.TextureNamed(String) Method

Definition

Creates an SKTexture from the texture in the atlas that is identified by name.

[Foundation.Export("textureNamed:")]
public virtual SpriteKit.SKTexture TextureNamed (string name);
abstract member TextureNamed : string -> SpriteKit.SKTexture
override this.TextureNamed : string -> SpriteKit.SKTexture

Parameters

name
String

Returns

Attributes

Applies to