共用方式為


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[]

要準備的物件。

傳回

屬性

適用於