3#include <RendererCore/Lights/ReflectionProbeComponentBase.h>
25 virtual void SerializeComponent(
plWorldWriter& inout_stream)
const override;
26 virtual void DeserializeComponent(
plWorldReader& inout_stream)
override;
29 virtual void OnActivated()
override;
30 virtual void OnDeactivated()
override;
40 void SetRadius(
float fRadius);
41 float GetRadius()
const;
43 void SetFalloff(
float fFalloff);
44 float GetFalloff()
const {
return m_fFalloff; }
46 void SetSphereProjection(
bool bSphereProjection);
47 bool GetSphereProjection()
const {
return m_bSphereProjection; }
58 float m_fRadius = 5.0f;
59 float m_fFalloff = 0.1f;
60 bool m_bSphereProjection =
true;
Definition AbstractObjectGraph.h:17
Definition ComponentManager.h:88
Base class for all reflection probes.
Definition ReflectionProbeComponentBase.h:13
Sphere reflection probe component.
Definition SphereReflectionProbeComponent.h:18
Definition SphereReflectionProbeComponent.h:6
A world encapsulates a scene graph of game objects and various component managers and their component...
Definition World.h:22
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