ScummVM API documentation
Stark::SkeletonAnim Class Reference

#include <skeleton_anim.h>

Public Member Functions

void createFromStream (ArchiveReadStream *stream)
 
void getCoordForBone (uint32 time, int boneIdx, Math::Vector3d &pos, Math::Quaternion &rot) const
 
uint32 getLength () const
 
uint32 getBoneCount () const
 

Detailed Description

Data structure responsible for skeletal animation of an actor object.

Member Function Documentation

◆ getCoordForBone()

void Stark::SkeletonAnim::getCoordForBone ( uint32  time,
int  boneIdx,
Math::Vector3d &  pos,
Math::Quaternion &  rot 
) const

Get the interpolated bone coordinate for a given bone at a given animation timestamp

◆ getLength()

uint32 Stark::SkeletonAnim::getLength ( ) const
inline

Get total animation length (in ms)

◆ getBoneCount()

uint32 Stark::SkeletonAnim::getBoneCount ( ) const
inline

The number of bones a skeleton must have to play this animation


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