2016-04-13 06:07:23 +00:00
|
|
|
#ifndef __URDE_CANIMTREEBLEND_HPP__
|
|
|
|
#define __URDE_CANIMTREEBLEND_HPP__
|
2016-04-10 21:22:59 +00:00
|
|
|
|
2016-09-04 02:27:35 +00:00
|
|
|
#include "CAnimTreeTweenBase.hpp"
|
|
|
|
|
2016-04-10 21:22:59 +00:00
|
|
|
namespace urde
|
|
|
|
{
|
|
|
|
|
2016-09-04 02:27:35 +00:00
|
|
|
class CAnimTreeBlend : public CAnimTreeTweenBase
|
2016-04-10 21:22:59 +00:00
|
|
|
{
|
2016-09-04 02:27:35 +00:00
|
|
|
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, const std::string& name);
|
|
|
|
|
|
|
|
SAdvancementResults VAdvanceView(const CCharAnimTime& a);
|
|
|
|
CCharAnimTime VGetTimeRemaining() const;
|
|
|
|
CSteadyStateAnimInfo VGetSteadyStateAnimInfo() const;
|
2017-03-01 06:02:54 +00:00
|
|
|
std::unique_ptr<IAnimReader> VClone() const;
|
2016-09-04 02:27:35 +00:00
|
|
|
void SetBlendingWeight(float w);
|
|
|
|
float VGetBlendingWeight() const;
|
2016-04-10 21:22:59 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|
|
|
|
|
2016-04-13 06:07:23 +00:00
|
|
|
#endif // __URDE_CANIMTREEBLEND_HPP__
|