SCNScene.WriteToUrl 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
WriteToUrl(NSUrl, NSDictionary, ISCNSceneExportDelegate, SCNSceneExportProgressHandler)
将场景写入 URL。
[Foundation.Export("writeToURL:options:delegate:progressHandler:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 9, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual bool WriteToUrl (Foundation.NSUrl url, Foundation.NSDictionary options, SceneKit.ISCNSceneExportDelegate aDelegate, SceneKit.SCNSceneExportProgressHandler exportProgressHandler);
abstract member WriteToUrl : Foundation.NSUrl * Foundation.NSDictionary * SceneKit.ISCNSceneExportDelegate * SceneKit.SCNSceneExportProgressHandler -> bool
override this.WriteToUrl : Foundation.NSUrl * Foundation.NSDictionary * SceneKit.ISCNSceneExportDelegate * SceneKit.SCNSceneExportProgressHandler -> bool
参数
- url
- NSUrl
返回
- 属性
适用于
WriteToUrl(NSUrl, NSDictionary, SCNSceneExportDelegate, SCNSceneExportProgressHandler)
注意
Use the 'ISCNSceneExportDelegate' overload instead.
[System.Obsolete("Use the 'ISCNSceneExportDelegate' overload instead.")]
public virtual bool WriteToUrl (Foundation.NSUrl url, Foundation.NSDictionary options, SceneKit.SCNSceneExportDelegate handler, SceneKit.SCNSceneExportProgressHandler exportProgressHandler);
abstract member WriteToUrl : Foundation.NSUrl * Foundation.NSDictionary * SceneKit.SCNSceneExportDelegate * SceneKit.SCNSceneExportProgressHandler -> bool
override this.WriteToUrl : Foundation.NSUrl * Foundation.NSDictionary * SceneKit.SCNSceneExportDelegate * SceneKit.SCNSceneExportProgressHandler -> bool
参数
- url
- NSUrl
- options
- NSDictionary
- handler
- SCNSceneExportDelegate
- exportProgressHandler
- SCNSceneExportProgressHandler
返回
- 属性
适用于
WriteToUrl(NSUrl, SCNSceneLoadingOptions, ISCNSceneExportDelegate, SCNSceneExportProgressHandler)
将场景写入 URL。
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 9, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public bool WriteToUrl (Foundation.NSUrl url, SceneKit.SCNSceneLoadingOptions options, SceneKit.ISCNSceneExportDelegate handler, SceneKit.SCNSceneExportProgressHandler exportProgressHandler);
member this.WriteToUrl : Foundation.NSUrl * SceneKit.SCNSceneLoadingOptions * SceneKit.ISCNSceneExportDelegate * SceneKit.SCNSceneExportProgressHandler -> bool
参数
- url
- NSUrl
- options
- SCNSceneLoadingOptions
- handler
- ISCNSceneExportDelegate
- exportProgressHandler
- SCNSceneExportProgressHandler
返回
- 属性
适用于
WriteToUrl(NSUrl, SCNSceneLoadingOptions, SCNSceneExportDelegate, SCNSceneExportProgressHandler)
注意
Use the 'ISCNSceneExportDelegate' overload instead.
[System.Obsolete("Use the 'ISCNSceneExportDelegate' overload instead.")]
public virtual bool WriteToUrl (Foundation.NSUrl url, SceneKit.SCNSceneLoadingOptions options, SceneKit.SCNSceneExportDelegate handler, SceneKit.SCNSceneExportProgressHandler exportProgressHandler);
abstract member WriteToUrl : Foundation.NSUrl * SceneKit.SCNSceneLoadingOptions * SceneKit.SCNSceneExportDelegate * SceneKit.SCNSceneExportProgressHandler -> bool
override this.WriteToUrl : Foundation.NSUrl * SceneKit.SCNSceneLoadingOptions * SceneKit.SCNSceneExportDelegate * SceneKit.SCNSceneExportProgressHandler -> bool
参数
- url
- NSUrl
- options
- SCNSceneLoadingOptions
- handler
- SCNSceneExportDelegate
- exportProgressHandler
- SCNSceneExportProgressHandler
返回
- 属性