The signature for the block that SceneKit calls during scene export.
- iOS 8.0+
- macOS 10.9+
- tvOS 9.0+
- watchOS 3.0+
You specify a block with this signature when calling the
write(to: method in order to receive updates on the progress of the export operation. The block takes the following parameters:
A number between
1that indicates the progress of the export operation, with
0indicating that the operation has just begun and
1indicating the operation has completed.
An error encountered during the export process, or
nilif no errors have occurred.
trueinside the block to cancel export.