Share via


SCNScene.FromFile Method

Definition

Overloads

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

FromFile(String, String, NSDictionary)

[Foundation.Export("sceneNamed:inDirectory:options:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static SceneKit.SCNScene? FromFile(string name, string? directory, Foundation.NSDictionary? options);
[<Foundation.Export("sceneNamed:inDirectory:options:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member FromFile : string * string * Foundation.NSDictionary -> SceneKit.SCNScene

Parameters

name
String
directory
String
options
NSDictionary

Returns

Attributes

Applies to

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.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static SceneKit.SCNScene? FromFile(string name, string directory, SceneKit.SCNSceneLoadingOptions options);
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member FromFile : string * string * SceneKit.SCNSceneLoadingOptions -> SceneKit.SCNScene

Parameters

name
String
directory
String

Returns

Attributes

Applies to

FromFile(String)

[Foundation.Export("sceneNamed:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static SceneKit.SCNScene? FromFile(string name);
[<Foundation.Export("sceneNamed:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member FromFile : string -> SceneKit.SCNScene

Parameters

name
String

Returns

Attributes

Applies to