![]()  | 
  
    OGRE 14.4
    
   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>
 Inheritance diagram for Ogre::VertexMorphKeyFrame:Public Member Functions | |
| VertexMorphKeyFrame (const AnimationTrack *parent, Real time) | |
| Default constructor, you should not call this but use AnimationTrack::createKeyFrame instead.   | |
| ~VertexMorphKeyFrame () | |
| KeyFrame * | _clone (AnimationTrack *newParent) const override | 
| Clone a keyframe (internal use only)   | |
| const HardwareVertexBufferSharedPtr & | getVertexBuffer (void) const | 
| Gets the vertex buffer containing positions for this keyframe.   | |
| void | setVertexBuffer (const HardwareVertexBufferSharedPtr &buf) | 
| Sets the vertex buffer containing the source positions for this keyframe.   | |
  Public Member Functions inherited from Ogre::KeyFrame | |
| KeyFrame (const AnimationTrack *parent, Real time) | |
| Default constructor, you should not call this but use AnimationTrack::createKeyFrame instead.   | |
| virtual | ~KeyFrame () | 
| Real | getTime (void) const | 
| Gets the time of this keyframe in the animation sequence.   | |
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.
We assume that positions are the first 3 float elements in this buffer, although we don't necessarily assume they're the only ones in there.
| 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.
      
  | 
  overridevirtual | 
Clone a keyframe (internal use only)
Reimplemented from Ogre::KeyFrame.