Assimp  v4.1. (December 2018)
Assimp::Ogre::OgreXmlSerializer Class Reference

Static Public Member Functions

static MeshXmlImportMesh (XmlReader *reader)
 Imports mesh and returns the result. More...
 
static bool ImportSkeleton (Assimp::IOSystem *pIOHandler, Mesh *mesh)
 
static bool ImportSkeleton (Assimp::IOSystem *pIOHandler, MeshXml *mesh)
 Imports skeleton to mesh. More...
 

Member Function Documentation

◆ ImportMesh()

MeshXml * Assimp::Ogre::OgreXmlSerializer::ImportMesh ( XmlReader reader)
static

Imports mesh and returns the result.

Note
Fatal unrecoverable errors will throw a DeadlyImportError.

◆ ImportSkeleton() [1/2]

bool Assimp::Ogre::OgreXmlSerializer::ImportSkeleton ( Assimp::IOSystem pIOHandler,
Mesh mesh 
)
static

◆ ImportSkeleton() [2/2]

bool Assimp::Ogre::OgreXmlSerializer::ImportSkeleton ( Assimp::IOSystem pIOHandler,
MeshXml mesh 
)
static

Imports skeleton to mesh.

If mesh does not have a skeleton reference or the skeleton file cannot be found it is not a fatal DeadlyImportError.

Returns
If skeleton import was successful.

Last fallback if .skeleton failed to be read. Try reading from .skeleton.xml even if the XML file referenced a binary skeleton.

Note
This logic was in the previous version and I don't want to break old code that might depends on it.

The documentation for this class was generated from the following files: