5 #include "ISceneModelNodeAnimatedProperty.h"
6 #include "VectorMath.h"
15 template <
class TProperty>
21 : m_properties(properties)
26 void GetPropertyForFrame(u32 frame, TProperty& out_property)
const
28 frame = frame % (u32)m_indices.size();
29 const u32& index = m_indices.at(frame);
30 out_property = m_properties.at(index);
41 : m_properties(source.m_properties)
42 , m_indices(source.m_indices)
46 std::vector<TProperty> m_properties;
47 std::vector<u32> m_indices;