Add loopCount to PlaySlotAnimation for looping slot animation

This commit is contained in:
Wojtek Figat
2022-04-14 23:18:37 +02:00
parent 03524caebf
commit 991abb1cf8
5 changed files with 29 additions and 10 deletions

View File

@@ -111,6 +111,8 @@ void SlotBucketInit(AnimGraphInstanceData::Bucket& bucket)
bucket.Slot.TimePosition = 0.0f;
bucket.Slot.BlendInPosition = 0.0f;
bucket.Slot.BlendOutPosition = 0.0f;
bucket.Slot.LoopsDone = 0;
bucket.Slot.LoopsLeft = 0;
}
bool SortMultiBlend1D(const byte& a, const byte& b, AnimGraphNode* n)