Skip to content

Fog

Abstract base class for fog types.

Not intended for direct use.

Construction

Constructors


Fog()

Constructs a base Fog object.

cpp
Fog::Fog(Color color);
ParameterDescription
colorColor of the fog.

Properties

color Color

Color of the fog.

cpp
Color color {};

Functions

GetType() FogType pure virtual

Returns fog type.

cpp
virtual FogType Fog::GetType() const=0;

Released under the MIT License.