MeshManager

1.2.0+

Manage meshes.

Creation 

Creating a mesh is done using create:

1const mesh = engine.meshes.create({vertexCount: 3, indexData: [0, 1, 2]});

.constructor(engine: WonderlandEngine) ⇒ MeshManager 

ParamTypeDescription
engineWonderlandEngine

.create(params: Partial<MeshParameters>) ⇒ Mesh 

Create a new mesh.

ParamTypeDescription
paramsPartial<MeshParameters>Vertex and index data. For more information, have a look at the MeshParameters object.