mirror of
https://github.com/aelurum/AssetStudio.git
synced 2025-05-25 05:40:21 -04:00
* Replace C++/CLI components with P/Invoke * Deleted C++/CLI projects * Use Utf8StringHandle to marshal UTF-8 strings * Use plaform-default calling convention * Handle DLL preloading on Linux and macOS * Change intermediate and output directories of native projects * Improve P/Invoke documentation
17 lines
365 B
C++
17 lines
365 B
C++
#include "asfbx_skin_context.h"
|
|
#include "asfbx_context.h"
|
|
|
|
AsFbxSkinContext::AsFbxSkinContext(AsFbxContext* pContext, FbxNode* pFrameNode)
|
|
: pSkin(nullptr)
|
|
{
|
|
if (pContext != nullptr && pContext->pScene != nullptr)
|
|
{
|
|
pSkin = FbxSkin::Create(pContext->pScene, "");
|
|
}
|
|
|
|
if (pFrameNode != nullptr)
|
|
{
|
|
lMeshMatrix = pFrameNode->EvaluateGlobalTransform();
|
|
}
|
|
}
|