3#include <Core/World/SettingsComponent.h>
4#include <Core/World/SettingsComponentManager.h>
5#include <RendererCore/Pipeline/RenderData.h>
19 float m_fHeightFalloff;
20 float m_fInvSkyDistance;
31 virtual void SerializeComponent(
plWorldWriter& inout_stream)
const override;
32 virtual void DeserializeComponent(
plWorldReader& inout_stream)
override;
35 virtual void Deinitialize()
override;
36 virtual void OnActivated()
override;
37 virtual void OnDeactivated()
override;
50 void SetDensity(
float fDensity);
51 float GetDensity()
const;
53 void SetHeightFalloff(
float fHeightFalloff);
54 float GetHeightFalloff()
const;
56 void SetModulateWithSkyColor(
bool bModulate);
57 bool GetModulateWithSkyColor()
const;
59 void SetSkyDistance(
float fDistance);
60 float GetSkyDistance()
const;
67 float m_fDensity = 1.0f;
68 float m_fHeightFalloff = 10.0f;
69 float m_fSkyDistance = 1000.0f;
70 bool m_bModulateWithSkyColor =
false;
plColor represents an RGBA color in linear color space. Values are stored as float,...
Definition Color.h:44
Definition FogComponent.h:24
The render data object for ambient light.
Definition FogComponent.h:13
Base class for all render data. Render data must contain all information that is needed to render the...
Definition RenderData.h:14
Base class for settings components, of which only one per type should exist in each world.
Definition SettingsComponent.h:13
A component manager that does no update at all on components and expects only a single instance to be...
Definition SettingsComponentManager.h:14
Reads a world description from a stream. Allows to instantiate that world multiple times in different...
Definition WorldReader.h:47
Stores an entire plWorld in a stream.
Definition WorldWriter.h:13
Definition UpdateLocalBoundsMessage.h:9