3#include "pixelbullet/scene/components/morph_weights_animation_component.h"
4#include "pixelbullet/scene/components/transform_animation_component.h"
5#include "pixelbullet/scene/entity_id.h"
8#include <unordered_map>
17 std::unordered_map<EntityId::ValueType, Transform> values;
19 [[nodiscard]]
bool Empty()
const noexcept
21 return values.empty();
31 const auto it = values.find(entity.Raw());
32 return it != values.end() ? &it->second :
nullptr;
47 std::unordered_map<EntityId::ValueType, std::vector<float>> values;
49 [[nodiscard]]
bool Empty()
const noexcept
51 return values.empty();
54 [[nodiscard]]
const std::vector<float>* Find(
EntityId entity)
const noexcept
61 const auto it = values.find(entity.Raw());
62 return it != values.end() ? &it->second :
nullptr;
Definition entity_id.h:11
Definition animation_evaluation.h:67
Definition animation_state_component.h:10
Definition morph_weights_animation_component.h:100
Definition animation_evaluation.h:46