32 Light *LoadLight(CStdXml &oXml);
34 virtual void SetupLights();
35 virtual void AddLight(std::string strXml);
36 virtual void RemoveLight(std::string strID,
bool bThrowError =
true);
44 #pragma region AccessorMutators
54 virtual CStdPtrArray<Light> *
Lights() {
return &m_aryLights;};
58 #pragma region DataAccesMethods
60 virtual bool AddItem(
const std::string &strItemType,
const std::string &strXml,
bool bThrowError =
true,
bool bDoNotInit =
false);
61 virtual bool RemoveItem(
const std::string &strItemType,
const std::string &strID,
bool bThrowError =
true);
62 virtual int FindChildListPos(std::string strID,
bool bThrowError =
true);
66 virtual void Initialize();
67 virtual void Load(CStdXml &oXml);
Root namespace for the base simulation library for AnimatLab.
Base class for the light object.
CStdPtrArray< Light > m_aryLights
Array of Light objects.
virtual CStdPtrArray< Light > * Lights()
Gets the lights array.
int m_iMaxLights
The maximum number of lights that can be added to the scene.