#include <OgreKeyFrame.h>
Public Member Functions | |
VertexMorphKeyFrame (const AnimationTrack *parent, Real time) | |
Default constructor, you should not call this but use AnimationTrack::createKeyFrame instead. | |
~VertexMorphKeyFrame () | |
void | setVertexBuffer (const HardwareVertexBufferSharedPtr &buf) |
Sets the vertex buffer containing the source positions for this keyframe. | |
const HardwareVertexBufferSharedPtr & | getVertexBuffer (void) const |
Gets the vertex buffer containing positions for this keyframe. | |
KeyFrame * | _clone (AnimationTrack *newParent) const |
Clone a keyframe (internal use only). | |
Real | getTime (void) const |
Gets the time of this keyframe in the animation sequence. | |
Protected Attributes | |
HardwareVertexBufferSharedPtr | mBuffer |
Real | mTime |
const AnimationTrack * | mParentTrack |
Definition at line 148 of file OgreKeyFrame.h.
Ogre::VertexMorphKeyFrame::VertexMorphKeyFrame | ( | const AnimationTrack * | parent, | |
Real | time | |||
) |
Default constructor, you should not call this but use AnimationTrack::createKeyFrame instead.
Ogre::VertexMorphKeyFrame::~VertexMorphKeyFrame | ( | ) |
Definition at line 153 of file OgreKeyFrame.h.
void Ogre::VertexMorphKeyFrame::setVertexBuffer | ( | const HardwareVertexBufferSharedPtr & | buf | ) |
Sets the vertex buffer containing the source positions for this keyframe.
buf | Vertex buffer link; will not be modified so can be shared read-only data |
const HardwareVertexBufferSharedPtr& Ogre::VertexMorphKeyFrame::getVertexBuffer | ( | void | ) | const |
Gets the vertex buffer containing positions for this keyframe.
KeyFrame* Ogre::VertexMorphKeyFrame::_clone | ( | AnimationTrack * | newParent | ) | const [virtual] |
Real Ogre::KeyFrame::getTime | ( | void | ) | const [inherited] |
Gets the time of this keyframe in the animation sequence.
Definition at line 60 of file OgreKeyFrame.h.
Definition at line 170 of file OgreKeyFrame.h.
Real Ogre::KeyFrame::mTime [protected, inherited] |
Definition at line 67 of file OgreKeyFrame.h.
const AnimationTrack* Ogre::KeyFrame::mParentTrack [protected, inherited] |
Definition at line 68 of file OgreKeyFrame.h.
Copyright © 2000-2005 by The OGRE Team
This work is licensed under a Creative Commons Attribution-ShareAlike 2.5 License.
Last modified Sat May 10 16:26:22 2008