|
Monad Engine da02fba2
> Undercity Codex_
|
#include "io/ModelImporter.h"#include <algorithm>#include <array>#include <cstring>#include <filesystem>#include <memory>#include <unordered_map>#include <vector>#include <assimp/Importer.hpp>#include <assimp/postprocess.h>#include <assimp/scene.h>#include <glm/gtc/quaternion.hpp>#include <glm/mat4x4.hpp>#include <glm/vec3.hpp>#include "Engine.h"#include "Log.h"#include "animation/IdleClip.h"#include "animation/Pose.h"#include "animation/Skeleton.h"#include "animation/SkeletalAnimationClip.h"#include "graphics/GraphicsAPI.h"#include "graphics/ShaderProgram.h"#include "graphics/Texture.h"#include "graphics/VertexLayout.h"#include "io/FileSystem.h"#include "render/Material.h"#include "render/Mesh.h"#include "scene/GameObject.h"#include "scene/Scene.h"#include "scene/components/AnimationComponent.h"#include "scene/components/MeshComponent.h"#include "scene/components/SkinnedMeshComponent.h"
Include dependency graph for ModelImporter.cpp:Go to the source code of this file.
Namespaces | |
| namespace | mnd |
| i32 boneIndex = 0 |
Definition at line 144 of file ModelImporter.cpp.
| bool isSkinned = false |
Definition at line 242 of file ModelImporter.cpp.
| std::shared_ptr<Material> material |
Definition at line 241 of file ModelImporter.cpp.
Referenced by TestObject::TestObject(), eng::MeshComponent::SetMaterial(), mnd::MeshComponent::SetMaterial(), mnd::SkinnedMeshComponent::SetMaterial(), and Player::Update().
| std::shared_ptr<Mesh> mesh |
Definition at line 240 of file ModelImporter.cpp.
Referenced by TestObject::TestObject(), eng::MeshComponent::LoadProperties(), mnd::MeshComponent::LoadProperties(), eng::ParseGLTFNode(), mnd::ParseGLTFNode(), eng::MeshComponent::SetMesh(), mnd::MeshComponent::SetMesh(), mnd::SkinnedMeshComponent::SetMesh(), and Player::Update().
| f32 weight = 0.0f |
Definition at line 145 of file ModelImporter.cpp.