Initializer

init(scnScene:)

Creates an asset from the specified SceneKit scene.

Declaration

convenience init(scnScene: SCNScene)

Parameters

scene

A SceneKit scene object.

Return Value

A new asset object.

Discussion

See Also

Importing Assets from SceneKit

init(scnScene: SCNScene, bufferAllocator: MDLMeshBufferAllocator?)

Creates an asset from the specified SceneKit scene, using the specified allocator.