Compartir a través de


SCNView.Prepare Método

Definición

Sobrecargas

Prepare(NSObject[], Action<Boolean>)

Prepara el contenido para representar sin problemas una nueva escena animada.

Prepare(NSObject, Func<Boolean>)

Proporciona un controlador sin parámetros que se usa para detener la preparación de una escena devolviendo trueo permitiendo que la preparación continúe devolviendo false.

Prepare(NSObject[], Action<Boolean>)

Prepara el contenido para representar sin problemas una nueva escena 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[]

Objetos que se van a preparar.

completionHandler
Action<Boolean>

Un controlador que recibe true si la preparación de todos los recursos de escena se realizó correctamente, o false si no es así.

Implementaciones

Atributos

Se aplica a

Prepare(NSObject, Func<Boolean>)

Proporciona un controlador sin parámetros que se usa para detener la preparación de una escena devolviendo trueo permitiendo que la preparación continúe devolviendo 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
abortHandler
Func<Boolean>

Devoluciones

Implementaciones

Atributos

Se aplica a