ModelInfo.h 724 B

1234567891011121314151617181920212223242526272829
  1. #pragma once
  2. #include <Array.h>
  3. #include <Model3D.h>
  4. #include <Reader.h>
  5. #include <Text.h>
  6. class ModelInfo
  7. {
  8. private:
  9. Framework::Text modelPath;
  10. Framework::RCArray<Framework::Text> texturPaths;
  11. bool transparent;
  12. float size;
  13. public:
  14. ModelInfo(const char* model,
  15. const char *texture,
  16. bool transparent,
  17. int numTextures, float size);
  18. ModelInfo(Framework::StreamReader* reader);
  19. Framework::Model3DData* getModel() const;
  20. Framework::Model3DTextur* getTexture() const;
  21. Framework::Text getModelName() const;
  22. const Framework::RCArray<Framework::Text>* getTexturNames() const;
  23. bool isTransparent() const;
  24. float getSize() const;
  25. };