mirror of https://github.com/AxioDL/metaforce.git
Add CCEBevelGradient
This commit is contained in:
parent
54b4f388ca
commit
805471eb98
|
@ -156,4 +156,10 @@ bool CCEParticleColor::GetValue(int /*frame*/, Zeus::CColor& colorOut) const
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bool CCEBevelGradient::GetValue(int frame, Zeus::CColor& colorOut) const
|
||||||
|
{
|
||||||
|
m_gradientColor->GetValue(frame, colorOut);
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -92,6 +92,16 @@ class CCEParticleColor : public CColorElement
|
||||||
public:
|
public:
|
||||||
bool GetValue(int frame, Zeus::CColor& colorOut) const;
|
bool GetValue(int frame, Zeus::CColor& colorOut) const;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
/* Custom additions */
|
||||||
|
class CCEBevelGradient : public CColorElement
|
||||||
|
{
|
||||||
|
std::unique_ptr<CColorElement> m_gradientColor;
|
||||||
|
public:
|
||||||
|
CCEBevelGradient(CColorElement* gradientCol)
|
||||||
|
: m_gradientColor(gradientCol) {}
|
||||||
|
bool GetValue(int frame, Zeus::CColor &colorOut) const;
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif // __PSHAG_CCOLORELEMENT_HPP__
|
#endif // __PSHAG_CCOLORELEMENT_HPP__
|
||||||
|
|
Loading…
Reference in New Issue