mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-09 07:07:42 +00:00
Aux-info resource sharing; some rigging stubs
This commit is contained in:
31
Runtime/Graphics/CSkinnedModel.hpp
Normal file
31
Runtime/Graphics/CSkinnedModel.hpp
Normal file
@@ -0,0 +1,31 @@
|
||||
#ifndef __PSHAG_CSKINNEDMODEL_HPP__
|
||||
#define __PSHAG_CSKINNEDMODEL_HPP__
|
||||
|
||||
#include "CToken.hpp"
|
||||
#include "CModel.hpp"
|
||||
#include "optional.hpp"
|
||||
|
||||
namespace urde
|
||||
{
|
||||
class CModel;
|
||||
class CSkinRules;
|
||||
class CCharLayoutInfo;
|
||||
class CPoseAsTransforms;
|
||||
class CVertexMorphEffect;
|
||||
class IObjectStore;
|
||||
|
||||
class CSkinnedModel
|
||||
{
|
||||
std::unique_ptr<CBooModel> m_modelInst;
|
||||
public:
|
||||
CSkinnedModel(const TLockedToken<CModel>& model,
|
||||
const TLockedToken<CSkinRules>& skinRules,
|
||||
const TLockedToken<CCharLayoutInfo>& layoutInfo);
|
||||
CSkinnedModel(IObjectStore& store, TResId model, TResId skinRules, TResId layoutInfo);
|
||||
|
||||
void Calculate(const CPoseAsTransforms& pose, const std::experimental::optional<CVertexMorphEffect>&);
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
#endif // __PSHAG_CSKINNEDMODEL_HPP__
|
||||
Reference in New Issue
Block a user