Simulant  21.06-50
A portable game engine for Windows, OSX, Linux, Dreamcast, and PSP
Public Member Functions | List of all members
smlt::SkeletalFrameUnpacker Class Reference
Inheritance diagram for smlt::SkeletalFrameUnpacker:
smlt::FrameUnpacker

Public Member Functions

 SkeletalFrameUnpacker (Mesh *mesh, std::size_t num_frames, std::size_t num_vertices)
 
void prepare_unpack (uint32_t current_frame, uint32_t next_frame, float t, Rig *const rig, Debug *const debug=nullptr) override
 
virtual void unpack_frame (const uint32_t current_frame, const uint32_t next_frame, const float t, Rig *const rig, VertexData *const out, Debug *const debug=nullptr) override
 
void set_joint_state_at_frame (std::size_t frame, std::size_t joint, JointState state)
 
const JointStatejoint_state_at_frame (std::size_t frame, std::size_t joint) const
 
void rebuild_key_frame_absolute_transforms ()
 
const SkeletonVertexvertex_at (std::size_t i)
 
bool link_vertex_to_joint (std::size_t vertex, std::size_t j, float weight)
 
const std::vector< SkeletonVertex > & vertices () const
 

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