XPlor/libs/xassets/xsunlightparseparams.h
2025-09-05 18:35:17 -04:00

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(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