Files
prime/include/Kyoto/Animation/CAdditiveAnimationInfo.hpp
Phillip Stephens 91e1d0fc94 Match and link CAnimationSet
CCredits fixes
Add proper constructor CInputStream to rstl::pair
CParticleSwooshDataFactory matches
2026-01-30 10:02:47 -08:00

19 lines
459 B
C++

#ifndef _CADDITIVEANIMATIONINFO
#define _CADDITIVEANIMATIONINFO
#include "Kyoto/Streams/CInputStream.hpp"
class CAdditiveAnimationInfo {
public:
CAdditiveAnimationInfo(const float fadeInDur, const float fadeOutDur)
: x0_fadeInDur(fadeInDur), x4_fadeOutDur(fadeOutDur) {}
CAdditiveAnimationInfo(CInputStream& in)
: x0_fadeInDur(in.Get< float >()), x4_fadeOutDur(in.Get< float >()) {}
private:
float x0_fadeInDur;
float x4_fadeOutDur;
};
#endif