Implemented Animation Clip asset and animation controller #410
|
@ -82,7 +82,5 @@ namespace SHADE
|
||||||
double ticksPerSecond;
|
double ticksPerSecond;
|
||||||
|
|
||||||
std::vector<SHAnimData> nodeChannels;
|
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
|
#pragma once
|
||||||
|
|
||||||
#include "SH_API.h"
|
#include "SH_API.h"
|
||||||
#include "SHAssetData.h"
|
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|
||||||
|
#include "Assets/SHAssetMacros.h"
|
||||||
|
#include "SHAssetData.h"
|
||||||
|
|
||||||
namespace SHADE
|
namespace SHADE
|
||||||
{
|
{
|
||||||
struct SH_API SHAnimClipAsset : SHAssetData
|
struct SHAnimClipAsset : SHAssetData
|
||||||
{
|
{
|
||||||
std::string name;
|
std::string name;
|
||||||
AssetID animRawDataAssetId;
|
|
||||||
uint32_t firstIndex;
|
uint32_t firstIndex;
|
||||||
uint32_t lastIndex;
|
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/Models/SHModelAsset.h"
|
||||||
#include "Assets/Asset Types/SHTextureAsset.h"
|
#include "Assets/Asset Types/SHTextureAsset.h"
|
||||||
#include "Assets/Asset Types/SHShaderAsset.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 "Assets/Asset Types/SHAnimControllerAsset.h"
|
||||||
#include "Graphics/Shaders/SHVkShaderModule.h"
|
#include "Graphics/Shaders/SHVkShaderModule.h"
|
||||||
#include "Graphics/MiddleEnd/Textures/SHTextureLibrary.h"
|
#include "Graphics/MiddleEnd/Textures/SHTextureLibrary.h"
|
||||||
|
|
Loading…
Reference in New Issue