metaforce/Runtime/Character/CAnimTreeBlend.hpp

29 lines
918 B
C++
Raw Permalink Normal View History

2018-10-07 03:42:33 +00:00
#pragma once
2016-04-10 21:22:59 +00:00
#include <memory>
#include <string>
#include "Runtime/Character/CAnimTreeTweenBase.hpp"
2016-09-04 02:27:35 +00:00
2021-04-10 08:42:06 +00:00
namespace metaforce {
2018-12-08 05:30:43 +00:00
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
};
2021-04-10 08:42:06 +00:00
} // namespace metaforce