Zone.pkg 1.9 KB

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