StaticModel.pkg 924 B

1234567891011121314151617181920212223
  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() const;
  12. Material* GetMaterial(unsigned index) const;
  13. unsigned GetOcclusionLodLevel() const;
  14. bool IsInside(const Vector3& point) const;
  15. bool IsInsideLocal(const Vector3& point) const;
  16. tolua_property__get_set Model* model;
  17. tolua_property__get_set Material* material;
  18. tolua_readonly tolua_property__get_set BoundingBox& boundingBox;
  19. tolua_readonly tolua_property__get_set unsigned numGeometries;
  20. tolua_property__get_set unsigned occlusionLodLevel;
  21. };