3 #include <Core/Asset/DataLoader.hpp>
15 class CameraComponent;
36 void loadData(
const aiScene* scene,
37 std::vector<std::unique_ptr<Core::Asset::Camera>>& data )
override;
41 inline bool sceneHasCamera(
const aiScene* scene )
const;
44 uint sceneCameraSize(
const aiScene* scene )
const;
47 void loadCameraData(
const aiScene* scene,
const aiCamera& camera,
Core::Asset::Camera& data );
50 Core::Matrix4 loadCameraFrame(
const aiScene* scene,
51 const Core::Matrix4& parentFrame,
52 const aiCamera& node )
const;
Camera class storing the Camera frame and the projection properties The view direction is -z in camer...