SCNScene.FromFile SCNScene.FromFile Method

Definition

Overloads

FromFile(String, String, SCNSceneLoadingOptions) 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) 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) FromFile(String)

Creates and returns a new SceneKit scene with the contents of the specified file.

FromFile(String, String, SCNSceneLoadingOptions) 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 String
directory
String String

Returns

FromFile(String, String, NSDictionary) 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 String
directory
String String

To be added.

This parameter can be null.

options
NSDictionary NSDictionary

To be added.

This parameter can be null.

Returns

FromFile(String) 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 String

Returns

Applies to