Contents

isLightingEnabled

A Boolean value that determines whether SceneKit applies lighting to particle images when rendering.

Declaration

var isLightingEnabled: Bool { get set }

Discussion

If true, SceneKit uses the position, color, and other attributes of SCNLight objects in the scene to shade each rendered particle image. Use this option to enhance volumetric effects such as smoke and fog.

The default value is false.

See Also

Managing Particle Rendering