summaryrefslogtreecommitdiff
path: root/Runtime/Animation/CalculateAnimatorSkinMatrices.h
blob: a0ee939653eddc9f237f2fd345d28cf1093abba3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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);