![]() |
OGRE 2.1
Object-Oriented Graphics Rendering Engine
|
Class for serialising skeleton data to/from an OGRE .skeleton file. More...
#include <OgreSkeletonSerializer.h>
Public Types | |
enum | Endian { ENDIAN_NATIVE , ENDIAN_BIG , ENDIAN_LITTLE } |
The endianness of written files. More... | |
Class for serialising skeleton data to/from an OGRE .skeleton file.
|
inherited |
Ogre::v1::SkeletonSerializer::SkeletonSerializer | ( | ) |
|
virtual |
void Ogre::v1::SkeletonSerializer::exportSkeleton | ( | const Skeleton * | pSkeleton, |
const String & | filename, | ||
SkeletonVersion | ver = SKELETON_VERSION_LATEST , |
||
Endian | endianMode = ENDIAN_NATIVE |
||
) |
Exports a skeleton to the file specified.
pSkeleton | Weak reference to the Skeleton to export |
filename | The destination filename |
endianMode | The endian mode to write in |
void Ogre::v1::SkeletonSerializer::exportSkeleton | ( | const Skeleton * | pSkeleton, |
DataStreamPtr | stream, | ||
SkeletonVersion | ver = SKELETON_VERSION_LATEST , |
||
Endian | endianMode = ENDIAN_NATIVE |
||
) |
void Ogre::v1::SkeletonSerializer::importSkeleton | ( | DataStreamPtr & | stream, |
Skeleton * | pDest | ||
) |
Imports Skeleton and animation data from a .skeleton file DataStream.
stream | The DataStream holding the .skeleton data. Must be initialised (pos at the start of the buffer). |
pDest | Weak reference to the Skeleton object which will receive the data. Should be blank already. |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
operator new, with debug line info
placement operator new
|
inlineinherited |
|
inlineinherited |
array operator new, with debug line info