00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016 #ifndef __SKYDOMECOMPONENT_H__
00017 #define __SKYDOMECOMPONENT_H__
00018
00019
00020 #include "../../dependencies.h"
00021 #include "SceneComponent.h"
00022
00023
00024
00026 class SkyDomeComponent : public SceneComponent
00027 {
00028 public:
00029
00030
00041 SkyDomeComponent(Entity *parent, const std::string &fileName, u32 hRes = 16, u32 vRes = 8,
00042 f32 texturePerc = 0.9f, f32 spherePerc = 2.0f, f32 radius = 1000.0f);
00053 SkyDomeComponent(Entity *parent, ITexture *texture, u32 hRes = 16, u32 vRes = 8,
00054 f32 texturePerc = 0.9f, f32 spherePerc = 2.0f, f32 radius = 1000.0f);
00056 ~SkyDomeComponent();
00057
00058
00061 static SkyDomeComponent* refFactory(Entity *parent, const std::string &fileName, u32 hRes,
00062 u32 vRes, f32 texturePerc, f32 spherePerc, f32 radius);
00063 };
00064
00065
00066
00068 extern void bindSkyDomeComponent(asIScriptEngine *engine);
00069
00070 #endif