Compartir a través de


ISCNSceneRenderer.Prepare Método

Definición

Sobrecargas

Prepare(NSObject, Func<Boolean>)
Prepare(NSObject[], Action<Boolean>)

Prepare(NSObject, Func<Boolean>)

[Foundation.Export("prepareObject:shouldAbortBlock:")]
[Foundation.Preserve(Conditional=true)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 9, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 9, ObjCRuntime.PlatformArchitecture.All, null)]
public bool Prepare (Foundation.NSObject obj, Func<bool> abortHandler);
abstract member Prepare : Foundation.NSObject * Func<bool> -> bool

Parámetros

obj
NSObject
abortHandler
Func<Boolean>

Se agregará.

Este parámetro puede ser null.

Devoluciones

Atributos

Se aplica a

Prepare(NSObject[], Action<Boolean>)

[Foundation.Export("prepareObjects:withCompletionHandler:")]
[Foundation.Preserve(Conditional=true)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 10, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 10, ObjCRuntime.PlatformArchitecture.All, null)]
public void Prepare (Foundation.NSObject[] objects, Action<bool> completionHandler);
abstract member Prepare : Foundation.NSObject[] * Action<bool> -> unit

Parámetros

objects
NSObject[]

Objetos que se van a preparar.

completionHandler
Action<Boolean>

Controlador que recibe true si la preparación de todos los recursos de escena se realizó correctamente o false si no.

Atributos

Se aplica a