SKSpriteNode.FromImageNamed(String) 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.
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