mirror of https://github.com/AxioDL/metaforce.git
29 lines
918 B
C++
29 lines
918 B
C++
#pragma once
|
|
|
|
#include <memory>
|
|
#include <string>
|
|
|
|
#include "Runtime/Character/CAnimTreeTweenBase.hpp"
|
|
|
|
namespace metaforce {
|
|
|
|
class CAnimTreeBlend : public CAnimTreeTweenBase {
|
|
float x24_blendWeight;
|
|
|
|
public:
|
|
static std::string CreatePrimitiveName(const std::shared_ptr<CAnimTreeNode>& a,
|
|
const std::shared_ptr<CAnimTreeNode>& b, float scale);
|
|
|
|
CAnimTreeBlend(bool, const std::shared_ptr<CAnimTreeNode>& a, const std::shared_ptr<CAnimTreeNode>& b,
|
|
float blendWeight, std::string_view name);
|
|
|
|
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;
|
|
};
|
|
|
|
} // namespace metaforce
|