Mesh
This example shows loading a mesh from an OBJ and MTL file.
The mesh is then added to the world and rendered.
meshes: [landscapeMesh],
materials: [landscapeMtl],
});
await pack.load();
this.world.createEntity([
]);
This example shows loading a mesh from an OBJ and MTL file.
The mesh is then added to the world and rendered.
meshes: [landscapeMesh],
materials: [landscapeMtl],
});
await pack.load();
this.world.createEntity([
]);