ScummVM API documentation
Stark::AnimHandler Class Reference

#include <animhandler.h>

Public Member Functions

void animate (uint32 time)
 
void setModel (Model *model)
 
void setAnim (SkeletonAnim *anim)
 
void resetBlending ()
 

Detailed Description

Animate a skeletal model's bones according to an animation

Member Function Documentation

◆ animate()

void Stark::AnimHandler::animate ( uint32  time)

Increment the animation timestamp, and apply bone animations if required

◆ setModel()

void Stark::AnimHandler::setModel ( Model model)

Set the skeletal model to animate

◆ setAnim()

void Stark::AnimHandler::setAnim ( SkeletonAnim anim)

Set the skeletal animation to use

◆ resetBlending()

void Stark::AnimHandler::resetBlending ( )

Stop blending and forget about the previous animation


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