Package apple.scenekit.protocol
Interface SCNSceneExportDelegate
-
public interface SCNSceneExportDelegate
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default NSURLwriteImageWithSceneDocumentURLOriginalImageURL(UIImage image, NSURL documentURL, NSURL originalImageURL)writeImage:withSceneDocumentURL:originalImageURL: Invoked on the delegate to write the referenced image and return the destination url.
-
-
-
Method Detail
-
writeImageWithSceneDocumentURLOriginalImageURL
default NSURL writeImageWithSceneDocumentURLOriginalImageURL(UIImage image, NSURL documentURL, NSURL originalImageURL)
writeImage:withSceneDocumentURL:originalImageURL: Invoked on the delegate to write the referenced image and return the destination url.- Parameters:
image- The image to write.documentURL- The url where the scene is currently exported to.originalImageURL- The original url for the image. May be nil if the image was not previously loaded from a url.- Returns:
- The delegate must returns the url of the image that was exported or nil if it didn't export any image. If the returned value is nil, the image will be exported to a default destination in a default format.
-
-