SCNView.PrepareAsync(NSObject[]) 方法

定义

异步准备内容以顺利呈现新的动画场景,返回指示场景准备是否成功的任务。

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 10, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.WatchOS, 3, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual System.Threading.Tasks.Task<bool> PrepareAsync (Foundation.NSObject[] objects);
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 10, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.WatchOS, 3, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 8, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual System.Threading.Tasks.Task<bool> PrepareAsync (Foundation.NSObject[] objects);
abstract member PrepareAsync : Foundation.NSObject[] -> System.Threading.Tasks.Task<bool>
override this.PrepareAsync : Foundation.NSObject[] -> System.Threading.Tasks.Task<bool>

参数

objects
NSObject[]

要准备的对象。

返回

属性

适用于