The signature for the block that SceneKit calls during scene export.
- iOS 8.0+
- macOS 10.9+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 3.0+
You specify a block with this signature when calling the
write 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.
YESinside the block to cancel export.