3#include <ModelImporter2/Importer/Importer.h>
5#include <assimp/Importer.hpp>
11namespace plModelImporter2
20 virtual plResult DoImport()
override;
36 Assimp::Importer m_Importer;
37 const aiScene* m_pScene =
nullptr;
38 plUInt32 m_uiTotalMeshVertices = 0;
39 plUInt32 m_uiTotalMeshTriangles = 0;
50 extern plColor ConvertAssimpType(
const aiColor3D& value,
bool bInvert =
false);
51 extern plColor ConvertAssimpType(
const aiColor4D& value,
bool bInvert =
false);
52 extern plMat4 ConvertAssimpType(
const aiMatrix4x4& value,
bool bDummy =
false);
53 extern plVec3 ConvertAssimpType(
const aiVector3D& value,
bool bDummy =
false);
54 extern plQuat ConvertAssimpType(
const aiQuaternion& value,
bool bDummy =
false);
55 extern float ConvertAssimpType(
float value,
bool bDummy =
false);
56 extern int ConvertAssimpType(
int value,
bool bDummy =
false);
plColor represents an RGBA color in linear color space. Values are stored as float,...
Definition Color.h:44
Definition EditableSkeleton.h:49
Definition ImporterAssimp.h:14
Default enum for returning failure or success, instead of using a bool.
Definition Types.h:54