SKTexture.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 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