StaticModel.pkg 896 B

12345678910111213141516171819202122
  1. $#include "Graphics/StaticModel.h"
  2. class StaticModel : public Drawable
  3. {
  4. void SetModel(Model* model);
  5. void SetMaterial(Material* material);
  6. bool SetMaterial(unsigned index, Material* material);
  7. void SetOcclusionLodLevel(unsigned level);
  8. void ApplyMaterialList(const String fileName = String::EMPTY);
  9. Model* GetModel() const;
  10. unsigned GetNumGeometries() const;
  11. Material* GetMaterial(unsigned index = 0) const;
  12. unsigned GetOcclusionLodLevel() const;
  13. bool IsInside(const Vector3& point) const;
  14. bool IsInsideLocal(const Vector3& point) const;
  15. tolua_property__get_set Model* model;
  16. tolua_property__get_set Material* material;
  17. tolua_readonly tolua_property__get_set BoundingBox& boundingBox;
  18. tolua_readonly tolua_property__get_set unsigned numGeometries;
  19. tolua_property__get_set unsigned occlusionLodLevel;
  20. };