SCNScene.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, String, SCNSceneLoadingOptions) |
Creates and returns a new SceneKit scene with the contents of the specified file in the main bundle for the application. |
FromFile(String, String, NSDictionary) |
Creates and returns a new SceneKit scene with the contents of the specified file in the main bundle for the application. |
FromFile(String) |
Creates and returns a new SceneKit scene with the contents of the specified file. |
FromFile(String, String, SCNSceneLoadingOptions)
Creates and returns a new SceneKit scene with the contents of the specified file in the main bundle for the application.
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 10, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public static SceneKit.SCNScene FromFile (string name, string directory, SceneKit.SCNSceneLoadingOptions options);
static member FromFile : string * string * SceneKit.SCNSceneLoadingOptions -> SceneKit.SCNScene
Parameters
- name
- String
- directory
- String
- options
- SCNSceneLoadingOptions
Returns
- Attributes
Applies to
FromFile(String, String, NSDictionary)
Creates and returns a new SceneKit scene with the contents of the specified file in the main bundle for the application.
[Foundation.Export("sceneNamed:inDirectory:options:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 10, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public static SceneKit.SCNScene FromFile (string name, string directory, Foundation.NSDictionary options);
static member FromFile : string * string * Foundation.NSDictionary -> SceneKit.SCNScene
Parameters
- name
- String
Returns
- Attributes
Applies to
FromFile(String)
Creates and returns a new SceneKit scene with the contents of the specified file.
[Foundation.Export("sceneNamed:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 9, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public static SceneKit.SCNScene FromFile (string name);
static member FromFile : string -> SceneKit.SCNScene
Parameters
- name
- String
Returns
- Attributes