ResidualVM logo ResidualVM website - Forums - Contact us BuildBot - Doxygen - Wiki curved edge

Stark::SkeletonAnim Class Reference

Data structure responsible for skeletal animation of an actor object. More...

#include <skeleton_anim.h>

Collaboration diagram for Stark::SkeletonAnim:

List of all members.

Classes

struct  AnimKey
struct  BoneAnim

Public Member Functions

 SkeletonAnim ()
void createFromStream (ArchiveReadStream *stream)
void 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.
uint32 getLength () const
 Get total animation length (in ms).

Private Attributes

uint32 _id
uint32 _ver
uint32 _u1
uint32 _u2
uint32 _time
Common::Array< BoneAnim_boneAnims

Detailed Description

Data structure responsible for skeletal animation of an actor object.

Definition at line 37 of file skeleton_anim.h.


Constructor & Destructor Documentation

Stark::SkeletonAnim::SkeletonAnim (  ) 

Definition at line 29 of file skeleton_anim.cpp.


Member Function Documentation

void Stark::SkeletonAnim::createFromStream ( ArchiveReadStream stream  ) 

Definition at line 37 of file skeleton_anim.cpp.

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.

Definition at line 70 of file skeleton_anim.cpp.

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

Get total animation length (in ms).

Definition at line 51 of file skeleton_anim.h.


Member Data Documentation

Definition at line 64 of file skeleton_anim.h.

Definition at line 64 of file skeleton_anim.h.

Definition at line 64 of file skeleton_anim.h.

Definition at line 64 of file skeleton_anim.h.

Definition at line 64 of file skeleton_anim.h.


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


Generated on Sat Jan 12 2019 05:05:00 for ResidualVM by doxygen 1.7.1
curved edge   curved edge