ModelInfo.h 573 B

12345678910111213141516171819202122
  1. #pragma once
  2. #include <Array.h>
  3. #include <Text.h>
  4. #include <Writer.h>
  5. class ModelInfo
  6. {
  7. private:
  8. Framework::Text modelPath;
  9. Framework::RCArray<Framework::Text> texturePaths;
  10. bool transparent;
  11. public:
  12. ModelInfo(const char* modelPath, const char* texturPath, int textureCount);
  13. ModelInfo(
  14. const char* modelPath, std::initializer_list<const char*> texturePaths);
  15. ModelInfo(const ModelInfo& right);
  16. ModelInfo& operator=(const ModelInfo& right);
  17. void writeTo(Framework::StreamWriter* zWriter) const;
  18. ModelInfo& setTransparent();
  19. };