SKNode.Create 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.
Overloads
Create(String, Type[], NSError) | |
Create(String, NSSet<Class>, NSError) | |
Create() |
Creates a new node. |
Create(String) |
Create(String, Type[], NSError)
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
- 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