3#include <Core/World/Component.h>
4#include <Core/World/World.h>
5#include <GameEngine/GameEngineDLL.h>
42 float m_fLocalUniformScaling = 1.0f;
44 bool m_bResetLocalPositionX =
true;
45 bool m_bResetLocalPositionY =
true;
46 bool m_bResetLocalPositionZ =
true;
47 bool m_bResetLocalRotation =
true;
48 bool m_bResetLocalScaling =
true;
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 OnSimulationStarted()
This method is called once for active components, at the start of the next world update,...
Definition Component.cpp:144
virtual void DeserializeComponent(plWorldReader &inout_stream)
Override this to load the current state of the component from the given stream.
Definition Component.cpp:58
Definition ComponentManager.h:88
static const plQuatTemplate< float > MakeIdentity()
Definition Quat_inl.h:29
static plVec3Template< float > MakeZero()
Definition Vec3.h:38
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