SCNScene.FromUrl 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
| Name | Description |
|---|---|
| FromUrl(NSUrl, NSDictionary, NSError) | |
| 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)
[Foundation.Export("sceneWithURL:options:error:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static SceneKit.SCNScene? FromUrl(Foundation.NSUrl url, Foundation.NSDictionary? options, out Foundation.NSError error);
[<Foundation.Export("sceneWithURL:options:error:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member FromUrl : Foundation.NSUrl * Foundation.NSDictionary * NSError -> SceneKit.SCNScene
Parameters
- url
- NSUrl
- options
- NSDictionary
- 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.
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static SceneKit.SCNScene? FromUrl(Foundation.NSUrl url, SceneKit.SCNSceneLoadingOptions? options, out Foundation.NSError error);
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member FromUrl : Foundation.NSUrl * SceneKit.SCNSceneLoadingOptions * NSError -> SceneKit.SCNScene
Parameters
- url
- NSUrl
- options
- SCNSceneLoadingOptions
- error
- NSError
Returns
- Attributes