GKScene.FromFile 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
FromFile(String) | |
FromFile(String, IGKSceneRootNodeType) |
FromFile(String)
[Foundation.Export("sceneWithFileNamed:")]
public static GameplayKit.GKScene FromFile (string filename);
static member FromFile : string -> GameplayKit.GKScene
Parameters
- filename
- String
Returns
- Attributes
Applies to
FromFile(String, IGKSceneRootNodeType)
[Foundation.Export("sceneWithFileNamed:rootNode:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 13, ObjCRuntime.PlatformArchitecture.Arch64, null)]
public static GameplayKit.GKScene FromFile (string filename, GameplayKit.IGKSceneRootNodeType rootNode);
static member FromFile : string * GameplayKit.IGKSceneRootNodeType -> GameplayKit.GKScene
Parameters
- filename
- String
- rootNode
- IGKSceneRootNodeType
Returns
- Attributes