Editar

Compartir a través de


SKSpriteNode.FromImageNamed(String) Method

Definition

Creates a new sprite node from the name the file.

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

Parameters

name
String

Returns

Attributes

Applies to