JK2eA
 All Classes Functions Variables
Classes | Public Member Functions
CControllerSkeletalAnimation Class Reference

#include <SkeletalAnimation.h>

Inheritance diagram for CControllerSkeletalAnimation:
Inheritance graph
[legend]
Collaboration diagram for CControllerSkeletalAnimation:
Collaboration graph
[legend]

List of all members.

Classes

struct  BONE_KEYFRAMED

Public Member Functions

 CControllerSkeletalAnimation (const std::string &name, CSkeleton *anim_for_skel)
virtual ~CControllerSkeletalAnimation ()
bool Load (const char *file_name)
void Release ()
void ToMixer (CSkeletalAnimationMixer *mixer, float *global_weight, char priority)
virtual void Update (float dt)
virtual void SetTimeScale (const float fTimeScale)
virtual void SetORT (CONTRL_ORT ort)
virtual void Reset (const bool activate=false)

Detailed Description

Animation controller (viz. dokument)


Constructor & Destructor Documentation

CControllerSkeletalAnimation::CControllerSkeletalAnimation ( const std::string &  name,
CSkeleton anim_for_skel 
)

Konstruktor

Parameters:
namenazev controlleru
anim_for_skelna kterou kostru bude vazana

Destruktor


Member Function Documentation

bool CControllerSkeletalAnimation::Load ( const char *  file_name)

Nacteni animace z JKA souboru

Parameters:
file_namecesta k souboru

Smaze vsechny klice

void CControllerSkeletalAnimation::Reset ( const bool  activate = false) [virtual]

Nastaveni local time na 0.0.

Parameters:
activatepokud je true nastavi se stav na CLS_ACTIVE

Reimplemented from CController.

void CControllerSkeletalAnimation::SetORT ( CONTRL_ORT  ort) [virtual]

Nastaveni out of range typu

Parameters:
ortORT

Reimplemented from CController.

void CControllerSkeletalAnimation::SetTimeScale ( const float  fTimeScale) [virtual]

Nastaveni nasobice casu

Parameters:
fTimeScalenova hodnota nasobice

Reimplemented from CController.

void CControllerSkeletalAnimation::ToMixer ( CSkeletalAnimationMixer mixer,
float *  global_weight,
char  priority 
)

Vlozi sve controllery do skeletal animation mixeru

Parameters:
mixerukazatel na mixer do ktereho se maji vsechny vnitrni controllery vlozit
global_weightvaha teto animace (vnitrnich controlleru)
prioritypriorita teto animace (vnitrnich controlleru)
void CControllerSkeletalAnimation::Update ( float  dt) [virtual]

Ciste virtualni metoda. Vola se pro aktualizaci controlleru v novem snimku.

Parameters:
dtcas predchoziho snimku

Implements CController.


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