您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

ugeentitycube.h 490B

123456789101112131415161718192021222324252627282930
  1. #ifndef UGEENTITYCUBE_H
  2. #define UGEENTITYCUBE_H
  3. #include "ugeentity.h"
  4. class UGEEntityCube : public UGEEntity
  5. {
  6. Q_OBJECT
  7. public:
  8. explicit UGEEntityCube(QObject *parent = 0);
  9. float getSize() const;
  10. virtual void draw(AbstractRenderDevice* device);
  11. QVariant getTextureId() const;
  12. signals:
  13. public slots:
  14. void setSize(float size);
  15. void setTextureId(const QVariant &textureId);
  16. private:
  17. float _size;
  18. QVariant _textureId;
  19. };
  20. #endif // UGEENTITYCUBE_H