編輯

共用方式為


SCNScene.FromUrl Method

Definition

Overloads

FromUrl(NSUrl, NSDictionary, NSError)

Creates and returns a new SceneKit scene with the contents of the file at the provided URL.

FromUrl(NSUrl, SCNSceneLoadingOptions, NSError)

Creates and returns a new SceneKit scene with the contents of the file at the provided URL.

FromUrl(NSUrl, NSDictionary, NSError)

Creates and returns a new SceneKit scene with the contents of the file at the provided URL.

[Foundation.Export("sceneWithURL:options:error:")]
public static SceneKit.SCNScene FromUrl (Foundation.NSUrl url, Foundation.NSDictionary options, out Foundation.NSError error);
static member FromUrl : Foundation.NSUrl * Foundation.NSDictionary *  -> SceneKit.SCNScene

Parameters

url
NSUrl
options
NSDictionary

To be added.

This parameter can be null.

error
NSError

Returns

Attributes

Applies to

FromUrl(NSUrl, SCNSceneLoadingOptions, NSError)

Creates and returns a new SceneKit scene with the contents of the file at the provided URL.

public static SceneKit.SCNScene FromUrl (Foundation.NSUrl url, SceneKit.SCNSceneLoadingOptions options, out Foundation.NSError error);
static member FromUrl : Foundation.NSUrl * SceneKit.SCNSceneLoadingOptions *  -> SceneKit.SCNScene

Parameters

url
NSUrl
error
NSError

Returns

Applies to