Edytuj

Udostępnij za pośrednictwem


SCNScene.FromFile Method

Definition

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

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
directory
String

To be added.

This parameter can be null.

options
NSDictionary

To be added.

This parameter can be null.

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

Applies to