3#include <Core/World/SettingsComponent.h>
4#include <Core/World/SettingsComponentManager.h>
5#include <RendererCore/Lights/Implementation/ReflectionProbeData.h>
6#include <RendererCore/Textures/TextureCubeResource.h>
40 void SetIntensity(
float fIntensity);
41 float GetIntensity()
const;
43 void SetSaturation(
float fSaturation);
44 float GetSaturation()
const;
46 const plTagSet& GetIncludeTags()
const;
47 void InsertIncludeTag(
const char* szTag);
48 void RemoveIncludeTag(
const char* szTag);
50 const plTagSet& GetExcludeTags()
const;
51 void InsertExcludeTag(
const char* szTag);
52 void RemoveExcludeTag(
const char* szTag);
54 void SetShowDebugInfo(
bool bShowDebugInfo);
55 bool GetShowDebugInfo()
const;
57 void SetShowMipMaps(
bool bShowMipMaps);
58 bool GetShowMipMaps()
const;
60 void SetCubeMapFile(
const char* szFile);
61 const char* GetCubeMapFile()
const;
67 float GetNearPlane()
const {
return m_Desc.m_fNearPlane; }
68 void SetNearPlane(
float fNearPlane);
70 float GetFarPlane()
const {
return m_Desc.m_fFarPlane; }
71 void SetFarPlane(
float fFarPlane);
83 mutable bool m_bStatesDirty =
true;
virtual void SerializeComponent(plWorldWriter &inout_stream) const
Override this to save the current state of the component to the given stream.
Definition Component.cpp:54
virtual void OnDeactivated()
This method is called when the component gets deactivated.
Definition Component.cpp:142
virtual void DeserializeComponent(plWorldReader &inout_stream)
Override this to load the current state of the component from the given stream.
Definition Component.cpp:58
virtual void OnActivated()
This method is called when the component gets activated.
Definition Component.cpp:140
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
Definition SkyLightComponent.h:15
A dynamic collection of tags featuring fast lookups.
Definition TagSet.h:23
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
A custom enum implementation that allows to define the underlying storage type to control its memory ...
Definition Enum.h:37
Definition UpdateLocalBoundsMessage.h:9
Describes how a cube map should be generated.
Definition ReflectionProbeData.h:24