Bearbeiten

Freigeben über


SKTexture.FromImageNamed(String) Method

Definition

Creates a texture from the named image.

[Foundation.Export("textureWithImageNamed:")]
public static SpriteKit.SKTexture FromImageNamed (string name);
static member FromImageNamed : string -> SpriteKit.SKTexture

Parameters

name
String

Returns

Attributes

Applies to