diff options
author | chai <chaifix@163.com> | 2019-08-14 22:50:43 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2019-08-14 22:50:43 +0800 |
commit | 15740faf9fe9fe4be08965098bbf2947e096aeeb (patch) | |
tree | a730ec236656cc8cab5b13f088adfaed6bb218fb /Runtime/Animation/CalculateAnimatorSkinMatrices.h |
Diffstat (limited to 'Runtime/Animation/CalculateAnimatorSkinMatrices.h')
-rw-r--r-- | Runtime/Animation/CalculateAnimatorSkinMatrices.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/Runtime/Animation/CalculateAnimatorSkinMatrices.h b/Runtime/Animation/CalculateAnimatorSkinMatrices.h new file mode 100644 index 0000000..a0ee939 --- /dev/null +++ b/Runtime/Animation/CalculateAnimatorSkinMatrices.h @@ -0,0 +1,18 @@ +#pragma once + +#include "Runtime/Interfaces/IAnimation.h" + +class Animator; + +// Multi-threaded. +// Can only get animated pose. +// Bindpose included. +void* DoCalculateAnimatorSkinMatrices (void* userData); + +// Main thread. +// Can handle both cases: animated pose & default pose. +// Bindpose not included. +bool CalculateWordSpaceMatrices (Animator* animator, const UInt16* skeletonIndices, Matrix4x4f* outWorldSpaceMatrices, size_t size); + + + |