Reimplemented animation clip container assets #403

Merged
XiaoQiDigipen merged 3 commits from AnimationClipAsset into SP3-22-AnimationController 2023-03-07 22:10:35 +08:00
3 changed files with 12 additions and 7 deletions
Showing only changes of commit 3cc949bb7e - Show all commits

View File

@ -82,7 +82,5 @@ namespace SHADE
double ticksPerSecond;
std::vector<SHAnimData> nodeChannels;
//std::vector<aiMeshAnim*> meshChannels;
//std::vector<aiMeshMorphAnim*> morphMeshChannels;
};
}

View File

@ -12,17 +12,24 @@ of DigiPen Institute of Technology is prohibited.
#pragma once
#include "SH_API.h"
#include "SHAssetData.h"
#include <string>
#include "Assets/SHAssetMacros.h"
#include "SHAssetData.h"
namespace SHADE
{
struct SH_API SHAnimClipAsset : SHAssetData
struct SHAnimClipAsset : SHAssetData
{
std::string name;
AssetID animRawDataAssetId;
uint32_t firstIndex;
uint32_t lastIndex;
};
struct SH_API SHAnimClipContainerAsset final : SHAssetData
{
AssetID animRawDataAssetId;
std::vector<SHAnimClipAsset> clips;
};
}

View File

@ -21,7 +21,7 @@ of DigiPen Institute of Technology is prohibited.
#include "Assets/Asset Types/Models/SHModelAsset.h"
#include "Assets/Asset Types/SHTextureAsset.h"
#include "Assets/Asset Types/SHShaderAsset.h"
#include "Assets/Asset Types/SHAnimClipAsset.h"
#include "Assets/Asset Types/SHAnimClipContainerAsset.h"
#include "Assets/Asset Types/SHAnimControllerAsset.h"
#include "Graphics/Shaders/SHVkShaderModule.h"
#include "Graphics/MiddleEnd/Textures/SHTextureLibrary.h"