Implemented Animation Clip asset and animation controller #410
|
@ -82,7 +82,5 @@ namespace SHADE
|
|||
double ticksPerSecond;
|
||||
|
||||
std::vector<SHAnimData> nodeChannels;
|
||||
//std::vector<aiMeshAnim*> meshChannels;
|
||||
//std::vector<aiMeshMorphAnim*> morphMeshChannels;
|
||||
};
|
||||
}
|
|
@ -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;
|
||||
};
|
||||
}
|
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue