sandbox
Loading...
Searching...
No Matches
sbx::animations::skeleton Class Reference

Classes

struct  bone
 

Public Member Functions

auto reserve (const std::size_t size) -> void
 
auto shrink_to_fit () -> void
 
auto add_bone (const std::string &name, const bone &bone) -> void
 
auto root_transform () const -> const math::matrix4x4 &
 
auto inverse_root_transform () const -> const math::matrix4x4 &
 
auto set_inverse_root_transform (const math::matrix4x4 &inverse_root_transform) -> void
 
auto bones () const -> const std::vector< bone > &
 
auto evaluate_pose (const animation &animation, std::float_t time) const -> std::vector< math::matrix4x4 >
 
auto bone_count () const -> std::uint32_t
 
auto name_for_bone (const std::size_t index) const -> const utility::hashed_string &
 
auto bone_index (const utility::hashed_string &name) const -> std::optional< std::uint32_t >
 

Static Public Attributes

static constexpr auto max_bones = std::uint32_t{64u}
 

The documentation for this class was generated from the following files: