Get the logical parent for this mesh factory.More...
This object is a factory which can generate mesh objects of a certain type.
For example, if you want to have multiple sets of sprites from the same sprite template then you should have an instance of iMeshObjectFactory for evey sprite template and an instance of iMeshObject for every sprite.
To use a mesh factory in the engine, you have to create a mesh factory wrapper for it.
This transformation and the original coordinates are not remembered but the object space coordinates are directly computed (world space coordinates are set to the object space coordinates by this routine). Note that some implementations of mesh objects will not change the orientation of the object but only the position.
Set a reference to some logical parent in the context that holds the mesh factories.
When a mesh factory is used in the context of the 3D engine then this will be an iMeshFactoryWrapper. Similarly for the isometric engine. Note that this function should NOT increase the ref-count of the given logical parent because this would cause a circular reference (since the logical parent already holds a reference to this mesh factory).
The documentation for this struct was generated from the following file: