Implemented Animation Clip asset and animation controller #410

Merged
XiaoQiDigipen merged 66 commits from SP3-22-AnimationController into main 2023-03-09 16:19:40 +08:00
2 changed files with 3 additions and 0 deletions
Showing only changes of commit 3d6bfaa119 - Show all commits

View File

@ -25,6 +25,7 @@ namespace SHADE
std::string name;
uint32_t firstIndex;
uint32_t lastIndex;
AssetID animRawDataAssetId; // Not serialised, only populated during runtime from parent asset
};
struct SH_API SHAnimClipContainerAsset final : SHAssetData

View File

@ -119,6 +119,8 @@ namespace SHADE
reinterpret_cast<char*>(&clip.firstIndex),
sizeof(uint32_t) * 2
);
clip.animRawDataAssetId = data->animRawDataAssetId;
}
result = data;