Instance Property

scene

The scene to be displayed.

Required.

Declaration

var scene: SCNScene? { get set }

Discussion

Setting a new scene immediately replaces whatever scene the renderer was previously displaying. To display a transition between scenes, use the present(_:with:incomingPointOfView:completionHandler:) method.

See Also

Presenting a Scene