summaryrefslogtreecommitdiff
path: root/Runtime/Animation/MecanimAnimation.h
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2019-08-14 22:50:43 +0800
committerchai <chaifix@163.com>2019-08-14 22:50:43 +0800
commit15740faf9fe9fe4be08965098bbf2947e096aeeb (patch)
treea730ec236656cc8cab5b13f088adfaed6bb218fb /Runtime/Animation/MecanimAnimation.h
+Unity Runtime codeHEADmaster
Diffstat (limited to 'Runtime/Animation/MecanimAnimation.h')
-rw-r--r--Runtime/Animation/MecanimAnimation.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/Runtime/Animation/MecanimAnimation.h b/Runtime/Animation/MecanimAnimation.h
new file mode 100644
index 0000000..aea8190
--- /dev/null
+++ b/Runtime/Animation/MecanimAnimation.h
@@ -0,0 +1,23 @@
+#pragma once
+
+#include "Runtime/Interfaces/IAnimation.h"
+
+
+class MecanimAnimation : public IAnimation
+{
+public:
+ static void InitializeClass ();
+ static void CleanupClass ();
+
+ MecanimAnimation() {}
+ ~MecanimAnimation() {}
+
+ virtual const void* GetGlobalSpaceSkeletonPose(const Unity::Component& animator);
+
+ virtual bool CalculateWorldSpaceMatricesMainThread(Unity::Component& animator, const UInt16* indices, size_t count, Matrix4x4f* outMatrices);
+
+ virtual CalculateAnimatorSkinMatricesFunc GetCalculateAnimatorSkinMatricesFunc();
+
+ virtual bool PathHashesToIndices(Unity::Component& animator, const BindingHash* bonePathHashes, size_t count, UInt16* outIndices);
+
+}; \ No newline at end of file