Cafu Engine
CafuModelT::ChannelT Struct Reference

Channels allow animations to play only on a subset of the joints, so that multiple animations can play on different parts of the model at the same time. More...

#include "Model_cmdl.hpp"

Public Member Functions

bool IsMember (unsigned int JointNr) const
 
void SetMember (unsigned int JointNr, bool Member=true)
 

Public Attributes

std::string Name
 The name of this channel. More...
 

Detailed Description

Channels allow animations to play only on a subset of the joints, so that multiple animations can play on different parts of the model at the same time.

For example, you can play a walking animation on the legs, an animation for swinging the arms on the upper body, and an animation for moving the eyes on the head.

Technically, a channel defines a group of joints. It is used to limit or "filter" animations such that they affect only the joints that are members of the channel.

Member Data Documentation

std::string CafuModelT::ChannelT::Name

The name of this channel.


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