OGRE
1.11.6
Object-Oriented Graphics Rendering Engine
|
Specialised KeyFrame which stores absolute vertex positions for a complete buffer, designed to be interpolated with other keys in the same track. More...
#include <OgreKeyFrame.h>
Public Member Functions | |
VertexMorphKeyFrame (const AnimationTrack *parent, Real time) | |
Default constructor, you should not call this but use AnimationTrack::createKeyFrame instead. More... | |
~VertexMorphKeyFrame () | |
KeyFrame * | _clone (AnimationTrack *newParent) const |
Clone a keyframe (internal use only) More... | |
Real | getTime (void) const |
Gets the time of this keyframe in the animation sequence. More... | |
const HardwareVertexBufferSharedPtr & | getVertexBuffer (void) const |
Gets the vertex buffer containing positions for this keyframe. More... | |
void | setVertexBuffer (const HardwareVertexBufferSharedPtr &buf) |
Sets the vertex buffer containing the source positions for this keyframe. More... | |
Specialised KeyFrame which stores absolute vertex positions for a complete buffer, designed to be interpolated with other keys in the same track.
Ogre::VertexMorphKeyFrame::VertexMorphKeyFrame | ( | const AnimationTrack * | parent, |
Real | time | ||
) |
Default constructor, you should not call this but use AnimationTrack::createKeyFrame instead.
|
inline |
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 |
Referenced by Ogre::Lod0Stripifier::~Lod0Stripifier().
const HardwareVertexBufferSharedPtr& Ogre::VertexMorphKeyFrame::getVertexBuffer | ( | void | ) | const |
Gets the vertex buffer containing positions for this keyframe.
Referenced by Ogre::Lod0Stripifier::~Lod0Stripifier().
|
virtual |
Clone a keyframe (internal use only)
Reimplemented from Ogre::KeyFrame.
|
inlineinherited |
Gets the time of this keyframe in the animation sequence.
References OGRE_NODISCARD.