Contains basic components like transform, camera, name components..
This file defines in engine ModelObject class.
Class for interaction with engine systems.
ModelObject class represents a model object in the engine. Thanks to engine separation from the backe...
uint32_t Entity
Type alias representing a unique entity identifier in the ECS system.
ModelObject * 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 createMeshFromPath(const std::string &path, Engine &engine)
Just creates meshcomponent from file. Copies meshData and texture paths for later backend specific pr...
ModelObject * 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 co...
constexpr Entity NULL_ENTITY
Special entity value indicating an invalid or null entity.
Struct containing raw meshData, mesh id, texture paths and material properties. It just template and ...