1#include "MeshGeneratorComponent.h"
17 {
"WireCube", ShapeType::WireCube },
24 TypeDatabase::createType<ShapeType>().setEnumerators(enumerators);
34 TypeDatabase::createType<MeshGeneratorComponent>()
Field definition describing a single data member of a data structure.
@ CubeTex2D
Cube shape with unit square texture coordinates over each face.
@ CircularArc
Flat circular arc with inner (size.x) and outer (size.y) radius on the XY plane. Can be extended (arc...
@ Cylinder
Generic cylinder shape.
@ SphereGeoTexCyl
Sphere shape with geodesic tessellation and cylindrical texture coordinates.
@ SphereGeoTexSph
Sphere shape with geodesic tessellation and spherical texture coordinates.
@ Cube
Generic cube shape.
@ Sphere
Generic sphere shape.
@ Cone
Generic cone shape.
@ CoordSys
Simple coordinate system where X axis is red, Y axis is green and Z axis is blue.
Contains reflection support.
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.