1$#include "Graphics/Zone.h" 2 3class Zone : public Drawable 4{ 5 void SetBoundingBox(const BoundingBox& box); 6 void SetAmbientColor(const Color& color); 7 void SetFogColor(const Color& color); 8 void SetFogStart(float start); 9 void SetFogEnd(float end); 10 void SetFogHeight(float height); 11 void SetFogHeightScale(float scale); 12 void SetPriority(int priority); 13 void SetHeightFog(bool enable); 14 void SetOverride(bool enable); 15 void SetAmbientGradient(bool enable); 16 void SetZoneTexture(Texture* texture); 17 18 const Matrix3x4& GetInverseWorldTransform() const; 19 const Color& GetAmbientColor() const; 20 const Color& GetAmbientStartColor(); 21 const Color& GetAmbientEndColor(); 22 const Color& GetFogColor() const; 23 float GetFogStart() const; 24 float GetFogEnd() const; 25 float GetFogHeight() const; 26 float GetFogHeightScale() const; 27 int GetPriority() const; 28 bool GetHeightFog() const; 29 bool GetOverride() const; 30 bool GetAmbientGradient() const; 31 Texture* GetZoneTexture() const; 32 33 bool IsInside(const Vector3& point) const; 34 35 tolua_property__get_set BoundingBox& boundingBox; 36 tolua_readonly tolua_property__get_set Matrix3x4& inverseWorldTransform; 37 tolua_property__get_set Color& ambientColor; 38 tolua_readonly tolua_property__get_set Color& ambientStartColor; 39 tolua_readonly tolua_property__get_set Color& ambientEndColor; 40 tolua_property__get_set Color& fogColor; 41 tolua_property__get_set float fogStart; 42 tolua_property__get_set float fogEnd; 43 tolua_property__get_set float fogHeight; 44 tolua_property__get_set float fogHeightScale; 45 tolua_property__get_set int priority; 46 tolua_property__get_set bool heightFog; 47 tolua_property__get_set bool override; 48 tolua_property__get_set bool ambientGradient; 49 tolua_property__get_set Texture* zoneTexture; 50};