Contents

fogColor

The color of the fog effect to be rendered with the scene. Animatable.

Declaration

var fogColor: Any { get set }

Discussion

This property’s value can be an NSColor object (in macOS), a UIColor object (in iOS), or a CGColor object. The default fog color is white.

You can animate changes to this property’s value. See Animating SceneKit Content.

See Also

Adding Fog to a Scene