Class for serialising skeleton data to/from an OGRE .skeleton file.
More...
#include <OgreSkeletonSerializer.h>
Class for serialising skeleton data to/from an OGRE .skeleton file.
- To export a Skeleton:
-
Create a Skeleton object and populate it using it's methods.
-
Call the exportSkeleton method
◆ Endian
The endianness of written files.
| Enumerator |
|---|
| ENDIAN_NATIVE | Use the platform native endian.
|
| ENDIAN_BIG | Use big endian (0x1000 is serialised as 0x10 0x00)
|
| ENDIAN_LITTLE | Use little endian (0x1000 is serialised as 0x00 0x10)
|
◆ SkeletonSerializer()
| Ogre::SkeletonSerializer::SkeletonSerializer |
( |
| ) |
|
◆ exportSkeleton() [1/2]
Exports a skeleton to the file specified.
- Parameters
-
| pSkeleton | Weak reference to the Skeleton to export |
| filename | The destination filename |
| endianMode | The endian mode to write in |
◆ exportSkeleton() [2/2]
Exports a skeleton to the stream specified.
- Parameters
-
| pSkeleton | Weak reference to the Skeleton to export |
| stream | The destination stream |
| endianMode | The endian mode to write in |
◆ importSkeleton()
Imports Skeleton and animation data from a .skeleton file DataStream.
- Parameters
-
| 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. |
The documentation for this class was generated from the following file: