metaforce/Runtime/Character/CAnimTreeBlend.hpp

26 lines
853 B
C++
Raw Normal View History

2018-10-07 03:42:33 +00:00
#pragma once
2016-04-10 21:22:59 +00:00
2016-09-04 02:27:35 +00:00
#include "CAnimTreeTweenBase.hpp"
2018-12-08 05:30:43 +00:00
namespace urde {
class CAnimTreeBlend : public CAnimTreeTweenBase {
float x24_blendWeight;
2016-04-10 21:22:59 +00:00
2016-09-04 02:27:35 +00:00
public:
2018-12-08 05:30:43 +00:00
static std::string CreatePrimitiveName(const std::shared_ptr<CAnimTreeNode>& a,
const std::shared_ptr<CAnimTreeNode>& b, float scale);
2016-09-04 02:27:35 +00:00
2018-12-08 05:30:43 +00:00
CAnimTreeBlend(bool, const std::shared_ptr<CAnimTreeNode>& a, const std::shared_ptr<CAnimTreeNode>& b,
float blendWeight, std::string_view name);
2016-09-04 02:27:35 +00:00
SAdvancementResults VAdvanceView(const CCharAnimTime& dt) override;
CCharAnimTime VGetTimeRemaining() const override;
CSteadyStateAnimInfo VGetSteadyStateAnimInfo() const override;
std::unique_ptr<IAnimReader> VClone() const override;
void SetBlendingWeight(float w) override;
float VGetBlendingWeight() const override;
2016-04-10 21:22:59 +00:00
};
2018-12-08 05:30:43 +00:00
} // namespace urde