Edit

Share via


SKNode.Create Method

Definition

Overloads

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);

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);

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();

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);

Parameters

filename
String

Returns

Attributes

Applies to