Covellite++
Version: 2.3.2 Revision: 2584 Platform: x64 Build: 19:03 05.09.2026
Кроссплатформенный фреймворк для разработки приложений на С++
Toggle main menu visibility
Загрузка...
Поиск...
Не найдено
Animations.hpp
1
2
#pragma once
3
#include "Animated.hpp"
4
#include <random>
5
#include <alicorn/std.memory.hpp>
6
#include <Covellite/Covellite.hpp>
7
8
namespace
basement
9
{
10
11
namespace
model
12
{
13
14
class
Animated::Animations
15
{
16
using
AnimationPtr_t = ::std::shared_ptr<::basement::model::Animation>;
17
using
ComponentPtr_t = ::covellite::api::Component::ComponentPtr_t;
18
using
BufferMapper_t =
19
::covellite::api::cbBufferMap_t<::covellite::api::Vertex>;
20
using
UsingBones_t = ::std::vector<::std::pair<String_t, ::std::size_t>>;
21
22
public
:
23
BufferMapper_t CreateAnimation(
const
ComponentPtr_t &,
const
ComponentPtr_t &,
24
const
ComponentPtr_t &,
const
int
);
25
26
private
:
27
AnimationPtr_t Get(
const
String_t &,
const
float
,
const
animation::Frames_t
&);
28
UsingBones_t Get(const ::std::map<String_t, ::glm::mat4> &,
29
const
animation::Skeleton_t
&);
30
31
private
:
32
::std::map<String_t, AnimationPtr_t> m_Animations;
33
};
34
35
}
// namespace model
36
37
}
// namespace basement
basement::model::animation::Skeleton_t
::std::vector< Bone > Skeleton_t
Класс входит в проект Example Тип данных скелета.
Определения
Animation.hpp:64
basement::model::animation::Frames_t
::std::vector<::std::pair< float, ::alicorn::extension::std::fast::unordered_map<::std::string, Mat4 > > > Frames_t
Класс входит в проект Example Тип данных набора кадров одной анимации.
Определения
Animation.hpp:138
basement
Определения
Common.hpp:10
Solution
Solution
Example
Example
Basements
Demo
Animations.hpp
Документация по Covellite++. Последние изменения:
. Создано системой
1.18.0