3#include <Core/ResourceManager/ResourceHandle.h>
4#include <Core/World/World.h>
5#include <RendererCore/Components/RenderComponent.h>
6#include <RendererCore/Pipeline/RenderData.h>
13 using StorageType = plUInt8;
35 void FillBatchIdAndSortingKey();
40 float m_fMaxScreenSize;
49 plUInt32 m_uiUniqueID;
70 virtual void SerializeComponent(
plWorldWriter& inout_stream)
const override;
71 virtual void DeserializeComponent(
plWorldReader& inout_stream)
override;
89 void SetTextureFile(
const char* szFile);
90 const char* GetTextureFile()
const;
96 void SetSize(
float fSize);
97 float GetSize()
const;
100 void SetMaxScreenSize(
float fSize);
101 float GetMaxScreenSize()
const;
112 float m_fSize = 1.0f;
113 float m_fMaxScreenSize = 64.0f;
114 float m_fAspectRatio = 1.0f;
plColor represents an RGBA color in linear color space. Values are stored as float,...
Definition Color.h:44
static const plColor White
#FFFFFF
Definition Color.h:194
Definition ComponentManager.h:88
Base class for objects that should be rendered.
Definition RenderComponent.h:9
Base class for all render data. Render data must contain all information that is needed to render the...
Definition RenderData.h:14
Renders a screen-oriented quad (billboard) with a maximum screen size.
Definition SpriteComponent.h:63
Definition SpriteComponent.h:31
A class to use together with plHashedString for quick comparisons with temporary strings that need no...
Definition HashedString.h:151
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
A message to modify the main color of some thing.
Definition SetColorMessage.h:32
Definition UpdateLocalBoundsMessage.h:9
Default enum for returning failure or success, instead of using a bool.
Definition Types.h:54
Definition SpriteComponent.h:12