metaforce/Runtime/Character/CMetaAnimPhaseBlend.hpp

26 lines
703 B
C++
Raw Normal View History

2018-10-07 03:42:33 +00:00
#pragma once
2016-04-10 21:22:59 +00:00
#include <memory>
#include "Runtime/IOStreams.hpp"
#include "Runtime/Character/IMetaAnim.hpp"
2016-04-10 21:22:59 +00:00
2018-12-08 05:30:43 +00:00
namespace urde {
class CMetaAnimPhaseBlend : public IMetaAnim {
std::shared_ptr<IMetaAnim> x4_animA;
std::shared_ptr<IMetaAnim> x8_animB;
float xc_blend;
bool x10_;
2016-04-10 21:22:59 +00:00
public:
2018-12-08 05:30:43 +00:00
CMetaAnimPhaseBlend(CInputStream& in);
EMetaAnimType GetType() const override { return EMetaAnimType::PhaseBlend; }
2016-04-10 21:22:59 +00:00
void GetUniquePrimitives(std::set<CPrimitive>& primsOut) const override;
2018-12-08 05:30:43 +00:00
std::shared_ptr<CAnimTreeNode> VGetAnimationTree(const CAnimSysContext& animSys,
const CMetaAnimTreeBuildOrders& orders) const override;
2016-04-10 21:22:59 +00:00
};
2018-12-08 05:30:43 +00:00
} // namespace urde