gltf2.0 importer - Support for mesh morph animations added.

Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
This commit is contained in:
Victor Cebollada
2019-09-25 09:57:53 +01:00
parent 2d2889f73f
commit e0fee3d87b
5 changed files with 212 additions and 9 deletions

View File

@@ -55,6 +55,7 @@ struct aiBone;
struct aiMesh;
struct aiAnimation;
struct aiNodeAnim;
struct aiMeshMorphAnim;
struct aiTexture;
struct aiMaterial;
struct aiNode;
@@ -150,6 +151,13 @@ protected:
void Validate( const aiAnimation* pAnimation,
const aiNodeAnim* pBoneAnim);
/** Validates a mesh morph animation channel.
* @param pAnimation Input animation.
* @param pMeshMorphAnim Mesh morph animation channel.
* */
void Validate( const aiAnimation* pAnimation,
const aiMeshMorphAnim* pMeshMorphAnim);
// -------------------------------------------------------------------
/** Validates a node and all of its subnodes
* @param Node Input node*/