osgAnimation::Animation Class Reference
List of all members.
Member Enumeration Documentation
Constructor & Destructor Documentation
osgAnimation::Animation::~Animation |
( |
|
) |
[inline, protected] |
Member Function Documentation
void osgAnimation::Animation::addChannel |
( |
Channel * |
pChannel |
) |
|
void osgAnimation::Animation::computeDuration |
( |
|
) |
|
Compute duration from channel and keyframes if the duration is not specified you should call this method before using it
double osgAnimation::Animation::computeDurationFromChannels |
( |
|
) |
const [protected] |
const ChannelList& osgAnimation::Animation::getChannels |
( |
|
) |
const |
Those accessors let you add and remove channels if you modify something that can change the duration you are supposed to call computeDuration or setDuration
float osgAnimation::Animation::getDuration |
( |
|
) |
const |
float osgAnimation::Animation::getStartTime |
( |
|
) |
const [inline] |
float osgAnimation::Animation::getWeight |
( |
|
) |
const |
osgAnimation::Animation::META_Object |
( |
osgAnimation |
, |
|
|
Animation |
| |
|
) |
| | [inline] |
void osgAnimation::Animation::resetTargets |
( |
|
) |
|
void osgAnimation::Animation::setDuration |
( |
double |
duration |
) |
|
Change the duration of animation then evaluate the animation in the range 0-duration it stretch the animation in time. see computeDuration too
void osgAnimation::Animation::setPlaymode |
( |
PlayMode |
mode |
) |
[inline] |
void osgAnimation::Animation::setStartTime |
( |
float |
time |
) |
[inline] |
void osgAnimation::Animation::setWeight |
( |
float |
weight |
) |
|
bool osgAnimation::Animation::update |
( |
float |
time |
) |
|
Member Data Documentation
The documentation for this class was generated from the following file: