metaforce/Runtime/Character/CAnimTreeNode.hpp

29 lines
715 B
C++
Raw Normal View History

2016-04-10 21:22:59 +00:00
#ifndef __PSHAG_CANIMTREENODE_HPP__
#define __PSHAG_CANIMTREENODE_HPP__
#include "IAnimReader.hpp"
namespace urde
{
class CAnimTreeNode : public IAnimReader
{
2016-04-11 03:59:54 +00:00
std::string x4_name;
public:
CAnimTreeNode(const std::string& name) : x4_name(name) {}
bool IsCAnimTreeNode() const {return true;}
2016-04-11 23:35:37 +00:00
2016-04-12 06:15:32 +00:00
virtual void Depth() const=0;
virtual void VGetContributionOfHighestInfluence() const=0;
virtual u32 VGetNumChildren() const=0;
virtual std::shared_ptr<IAnimReader> VGetBestUnblendedChild() const=0;
2016-04-11 23:35:37 +00:00
void GetContributionOfHighestInfluence() const;
u32 GetNumChildren() const;
std::shared_ptr<IAnimReader> GetBestUnblendedChild() const;
2016-04-10 21:22:59 +00:00
};
}
#endif // __PSHAG_CANIMTREENODE_HPP__