Removed AnimationOffset and improved BlendTree
This commit is contained in:
@@ -28,6 +28,7 @@ struct EntityWrapper
|
||||
void AttachComponent(const char* componentName);
|
||||
EntityWrapper Parent();
|
||||
EntityWrapper FirstChildByName(const std::string& name);
|
||||
EntityWrapper FirstLevelChildByName(const std::string& name);
|
||||
EntityWrapper FirstParentWithComponent(const std::string& componentType);
|
||||
bool IsChildOf(EntityWrapper potentialParent);
|
||||
bool Valid() const;
|
||||
|
||||
@@ -63,7 +63,7 @@ public:
|
||||
|
||||
std::vector<glm::mat4> GetFinalPose() { return m_FinalPose; }
|
||||
glm::mat4 GetBoneTransform(int boneID);
|
||||
|
||||
bool IsValid() { return (m_Root == nullptr ? false : true); }
|
||||
|
||||
void PrintTree();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user