#ifndef XSUNLIGHTPARSEPARAMS_H #define XSUNLIGHTPARSEPARAMS_H #include "xasset.h" #include #include class XSunLightParseParams : public XAsset { public: explicit XSunLightParseParams(); ~XSunLightParseParams(); void ParseData(QDataStream *aStream) override; void Clear() override; private: QString mName; float mAmbientScale; QColor mAmbientColor; float mDiffuseFraction; float mSunLight; QColor mSunColor; QColor mDiffuseColor; bool mDiffuseColorHasBeenSet; QVector3D mAngles; }; #endif // XSUNLIGHTPARSEPARAMS_H