autoenablesDefaultLighting
A Boolean value that determines whether Scene Kit automatically adds lights to a scene.
Declaration
var autoenablesDefaultLighting: Bool { get set }Mentioned in
Discussion
If this property’s value is true (the default), SceneKit automatically adds and places an omnidirectional light source when rendering scenes that contain no lights or only contain ambient lights. If you change the value to false, the only light sources SceneKit uses for rendering a scene are those contained in the scene graph.