@charliesideroad, if BABYLON is not loaded in the address space, then there are several methods that must be manually passed to MeshWriter. The documentation on this was pretty unclear; my bad. So, I improved it. Screenshot attached nearby.
@sebevan, it occurred to me that the documentation would be further improved by including the exact import statements that would get those methods with the current version of BABYLON. Then our recipe would leave less to the imagination.
I can include that information in the MeshWriter documentation.
Charlie started us with one example that captures three of them.
import { Vector3, StandardMaterial, Mesh } from "@babylonjs/core";
Would it be possible to get the incantations to pull in the whole list?
import * as BABYLON from “@babylonjs/core/Legacy/legacy”;
you are basically getting rid of tree shaking I guess the import should be refined to the exclusive sets of resources required by MeshWriter which is probably what @TheLeftover was mentioning above