3#include "Generators/ShapeType.h"
5#include "Foundation/ComponentModel/Component.h"
27 glm::vec3
size = glm::vec3(1, 1, 1);
41 return "MeshGeneratorComponent";
Base class for Component instances.
Provides a weakly referenced view over the contents of a string.
ShapeType
Shape types generated by mesh generator.
Contains all Cogs related functionality.
Generates mesh data and assigns the generated mesh to a MeshComponent on the same entity.
glm::vec3 size
Size parameters.
ShapeType shape
Shape of the mesh to generate.
int samples
Sample complexity of the mesh.
static void registerType()
Register the type in the type system.
float arcStart
Arc start angle.
float arcEnd
Arc end angle.