00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016 #ifndef __SKYBOXCOMPONENT_H__
00017 #define __SKYBOXCOMPONENT_H__
00018
00019
00020 #include "../../dependencies.h"
00021 #include "SceneComponent.h"
00022
00023
00024
00026 class SkyBoxComponent : public SceneComponent
00027 {
00028 public:
00029
00030
00040 SkyBoxComponent(Entity *parent, ITexture *top, ITexture *bottom, ITexture *left,
00041 ITexture *right, ITexture *front, ITexture *back);
00050 SkyBoxComponent(Entity *parent, const std::string &top, const std::string &bottom,
00051 const std::string &left, const std::string &right, const std::string &front,
00052 const std::string &back);
00054 ~SkyBoxComponent();
00055
00056
00059 static SkyBoxComponent* refFactory(Entity *parent, const std::string &top,
00060 const std::string &bottom, const std::string &left,
00061 const std::string &right, const std::string &front,
00062 const std::string &back);
00063 };
00064
00065
00066
00068 extern void bindSkyBoxComponent(asIScriptEngine *engine);
00069
00070 #endif