SKNode.Create Method

Definition

Overloads

Create(String, Type[], NSError)
Create(String, NSSet<Class>, NSError)
Create()

Creates a new node.

Create(String)

Create(String, Type[], NSError)

[ObjCRuntime.TV(12, 0)]
[ObjCRuntime.Watch(5, 0)]
public static SpriteKit.SKNode Create (string filename, Type[] types, out Foundation.NSError error);
static member Create : string * Type[] *  -> SpriteKit.SKNode

Parameters

filename
String
types
Type[]
error
NSError

Returns

Attributes

Applies to

Create(String, NSSet<Class>, NSError)

[ObjCRuntime.TV(12, 0)]
[ObjCRuntime.Watch(5, 0)]
public static SpriteKit.SKNode Create (string filename, Foundation.NSSet<ObjCRuntime.Class> classes, out Foundation.NSError error);
static member Create : string * Foundation.NSSet<ObjCRuntime.Class> *  -> SpriteKit.SKNode

Parameters

filename
String
classes
NSSet<Class>
error
NSError

Returns

Attributes

Applies to

Create()

Creates a new node.

[Foundation.Export("node")]
public static SpriteKit.SKNode Create ();
static member Create : unit -> SpriteKit.SKNode

Returns

Attributes

Applies to

Create(String)

[Foundation.Export("nodeWithFileNamed:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 10, ObjCRuntime.PlatformArchitecture.All, null)]
public static SpriteKit.SKNode Create (string filename);
static member Create : string -> SpriteKit.SKNode

Parameters

filename
String

Returns

Attributes

Applies to