Model.pkg 913 B

123456789101112131415161718192021
  1. $#include "Model.h"
  2. class Model : public Resource
  3. {
  4. const BoundingBox& GetBoundingBox() const;
  5. Skeleton& GetSkeleton();
  6. unsigned GetNumGeometries() const;
  7. unsigned GetNumGeometryLodLevels(unsigned index) const;
  8. Geometry* GetGeometry(unsigned index, unsigned lodLevel) const;
  9. unsigned GetNumMorphs() const;
  10. const ModelMorph* GetMorph(const String name) const;
  11. const ModelMorph* GetMorph(StringHash nameHash) const;
  12. const ModelMorph* GetMorph(unsigned index) const;
  13. unsigned GetMorphRangeStart(unsigned bufferIndex) const;
  14. unsigned GetMorphRangeCount(unsigned bufferIndex) const;
  15. tolua_readonly tolua_property__get_set BoundingBox& boundingBox;
  16. tolua_readonly tolua_property__get_set Skeleton skeleton;
  17. tolua_readonly tolua_property__get_set unsigned numGeometries;
  18. tolua_readonly tolua_property__get_set unsigned numMorphs;
  19. };