3#include "Foundation/ComponentModel/Component.h"
23 glm::vec4
color = glm::vec4(1.0, 1.0, 1.0, 1.0);
37template<>
inline Cogs::StringView getName<Cogs::Core::FogComponent>() {
return "FogComponent"; }
Base class for Component instances.
Contains data to describe fog.
static void registerType()
Register the type in the type system.
glm::vec4 color
Fog color.
float amount
Amount of fog to blend in.
float distance
Distance at which the fog is at its most dense.
bool enabled
If the fog should be enabled or disabled.
Provides a weakly referenced view over the contents of a string.
Contains all Cogs related functionality.