BlendQueues fully working

This commit is contained in:
viktorljung
2016-03-03 23:20:13 +01:00
parent 68332102ea
commit e3fbd2082c
8 changed files with 99 additions and 66 deletions
+2 -1
View File
@@ -29,7 +29,7 @@ public:
Node* Child[2] = { nullptr, nullptr };
NodeType Type;
std::map<int, Skeleton::PoseData> Pose;
//std::vector<glm::mat4> Pose;
bool SubTreeRoot = false;
double Weight = 0.0;
Node* Next() {
@@ -61,6 +61,7 @@ public:
std::string NodeName;
double progress;
bool Start;
bool SingleBlend;
std::unordered_map<EntityWrapper, double> StartWeights;
};
@@ -17,6 +17,7 @@ struct AutoAnimationBlend : Event
bool Start = false;
bool Reverse = false;
bool Restart = false;
bool SingleLevelBlend = false;
EntityWrapper AnimationEntity = EntityWrapper::Invalid;
};