29#ifndef __PrefabFactory_H__
30#define __PrefabFactory_H__
Resource holding data about 3D mesh.
A factory class that can create various mesh prefabs.
static void createSphere(Mesh *mesh)
Creates a sphere with a diameter of 100 units as a submesh of the given mesh.
static void createPlane(Mesh *mesh)
Creates a plane as a submesh of the given mesh.
static bool createPrefab(Mesh *mesh)
If the given mesh has a known prefab resource name (e.g "Prefab_Plane") then this prefab will be crea...
static void createCube(Mesh *mesh)
Creates a 100x100x100 cube as a submesh of the given mesh.