39 lines
601 B
C++
39 lines
601 B
C++
#ifndef XSUNLIGHTPARSEPARAMS_H
|
|
#define XSUNLIGHTPARSEPARAMS_H
|
|
|
|
#include "xasset.h"
|
|
|
|
#include <QColor>
|
|
#include <QVector3D>
|
|
|
|
class XSunLightParseParams : public XAsset
|
|
{
|
|
public:
|
|
explicit XSunLightParseParams();
|
|
~XSunLightParseParams();
|
|
|
|
void ParseData(XDataStream *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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|