This file defines functions for creating model objects and mesh components. More...
#include <string>#include "components/GameObjects/ModelObject.hpp"#include "components/GameComponents/BasicComponents.hpp"Go to the source code of this file.
Namespaces | |
| namespace | vex |
Functions | |
| ModelObject * | vex::createModelFromComponents (const std::string &name, MeshComponent meshComponent, TransformComponent transformComponent, Engine &engine, vex::Entity parent=vex::NULL_ENTITY) |
| Creates model object From mesh and tranform components. | |
| MeshComponent | vex::createMeshFromPath (const std::string &path, Engine &engine) |
| Just creates meshcomponent from file. Copies meshData and texture paths for later backend specific processing. | |
| ModelObject * | vex::createModelFromPath (const std::string &path, const std::string &name, Engine &engine, vex::Entity parent=vex::NULL_ENTITY) |
| Creates model object from file. Esentially just runs two other functions just with empty transform component. | |
This file defines functions for creating model objects and mesh components.
Definition in file ModelCreator.hpp.