#include <OgrePrefabFactory.h>
Static Public Member Functions | |
| static bool | createPrefab (Mesh *mesh) |
| If the given mesh has a known prefab resource name (e.g "Prefab_Plane") then this prefab will be created as a submesh of the given mesh. | |
Static Private Member Functions | |
| static void | createPlane (Mesh *mesh) |
| Creates a plane as a submesh of the given mesh. | |
| static void | createCube (Mesh *mesh) |
| Creates a 100x100x100 cube as a submesh of the given mesh. | |
| static void | createSphere (Mesh *mesh) |
| Creates a sphere with a diameter of 100 units as a submesh of the given mesh. | |
Definition at line 42 of file OgrePrefabFactory.h.
| static bool Ogre::PrefabFactory::createPrefab | ( | Mesh * | mesh | ) | [static] |
If the given mesh has a known prefab resource name (e.g "Prefab_Plane") then this prefab will be created as a submesh of the given mesh.
| mesh | The mesh that the potential prefab will be created in. |
| static void Ogre::PrefabFactory::createPlane | ( | Mesh * | mesh | ) | [static, private] |
Creates a plane as a submesh of the given mesh.
| static void Ogre::PrefabFactory::createCube | ( | Mesh * | mesh | ) | [static, private] |
Creates a 100x100x100 cube as a submesh of the given mesh.
| static void Ogre::PrefabFactory::createSphere | ( | Mesh * | mesh | ) | [static, private] |
Creates a sphere with a diameter of 100 units as a submesh of the given mesh.
Copyright © 2000-2005 by The OGRE Team

This work is licensed under a Creative Commons Attribution-ShareAlike 2.5 License.
Last modified Mon Jun 16 12:51:52 2008