SCNSceneExportProgressHandler

Type Alias SCNSceneExportProgressHandler 

Source
pub type SCNSceneExportProgressHandler = *mut DynBlock<dyn Fn(c_float, *mut NSError, NonNull<Bool>)>;
Available on crate features SCNScene and block2 only.
Expand description

Signature of a block that will be called repeatedly while the scene is being exported.

Parameter totalProgress: is a floating-point number between 0 and 1. 0 means the loading process has just started and 1 that it is complete.

Parameter error: Will contain information about the failure if any.

Parameter stop: Set *stop to YES if you want to abort the operation.

See also Apple’s documentation