3#include <Core/ResourceManager/ResourceHandle.h>
4#include <Core/World/World.h>
5#include <ProcGenPlugin/Declarations.h>
24 void SetValue(
float fValue);
25 float GetValue()
const {
return m_fValue; }
27 void SetSortOrder(
float fOrder);
28 float GetSortOrder()
const {
return m_fSortOrder; }
41 float m_fValue = 1.0f;
42 float m_fSortOrder = 0.0f;
45 void InvalidateArea();
63 float GetRadius()
const {
return m_fRadius; }
64 void SetRadius(
float fRadius);
66 float GetFalloff()
const {
return m_fFalloff; }
67 void SetFalloff(
float fFalloff);
76 float m_fRadius = 5.0f;
77 float m_fFalloff = 0.5f;
92 const plVec3& GetExtents()
const {
return m_vExtents; }
93 void SetExtents(
const plVec3& vExtents);
95 const plVec3& GetFalloff()
const {
return m_vFalloff; }
96 void SetFalloff(
const plVec3& vFalloff);
126 void SetImageFile(
const char* szFile);
127 const char* GetImageFile()
const;
Base class of all component types.
Definition Component.h:25
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
Definition ComponentManager.h:88
Definition ProcVolumeComponent.h:85
Definition ProcVolumeComponent.h:14
Definition ProcVolumeComponent.h:114
Definition ProcVolumeComponent.h:56
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