PrefabType is an enumerator of the SceneManager class, which allows an easy creation of shapes.
Available are the types plane, cube and spere.
These are useful for visual testing purpose by tiny code additions code.
To create a shape, refer the related enum as parameter to the instruction SceneManager::createEntity(). The returned Entity contains the wanted shape.
// Create a prefab plane Entity* planeEnt = sceneMgr->createEntity("Plane", SceneManager::PT_PLANE); // Give the plane a texture planeEnt->setMaterialName("Examples/BumpyMetal"); // Attach the 2 new entities to the root of the scene sceneMgr->getRootSceneNode()->attachObject(planeEnt);