SCNView.Prepare Método
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
Sobrecargas
Prepare(NSObject[], Action<Boolean>) |
Prepara o conteúdo para renderizar sem problemas uma nova cena animada. |
Prepare(NSObject, Func<Boolean>) |
Fornece um manipulador sem parâmetros usado para interromper a preparação de uma cena retornando ou permitindo |
Prepare(NSObject[], Action<Boolean>)
Prepara o conteúdo para renderizar sem problemas uma nova cena animada.
[Foundation.Export("prepareObjects:withCompletionHandler:")]
[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 void Prepare (Foundation.NSObject[] objects, Action<bool> completionHandler);
[Foundation.Export("prepareObjects:withCompletionHandler:")]
[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 void Prepare (Foundation.NSObject[] objects, Action<bool> completionHandler);
abstract member Prepare : Foundation.NSObject[] * Action<bool> -> unit
override this.Prepare : Foundation.NSObject[] * Action<bool> -> unit
Parâmetros
- objects
- NSObject[]
Os objetos a serem preparados.
Um manipulador que recebe true
se a preparação de todos os recursos de cena foi bem-sucedida ou false
se não.
Implementações
- Atributos
Aplica-se a
Prepare(NSObject, Func<Boolean>)
Fornece um manipulador sem parâmetros usado para interromper a preparação de uma cena retornando ou permitindo true
que a preparação continue retornando false
.
[Foundation.Export("prepareObject:shouldAbortBlock:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 9, 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 bool Prepare (Foundation.NSObject obj, Func<bool> abortHandler);
[Foundation.Export("prepareObject:shouldAbortBlock:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 9, 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 bool Prepare (Foundation.NSObject obj, Func<bool> abortHandler);
abstract member Prepare : Foundation.NSObject * Func<bool> -> bool
override this.Prepare : Foundation.NSObject * Func<bool> -> bool
Parâmetros
- obj
- NSObject
Retornos
Implementações
- Atributos