I did not find the source code for NodeGeometry, just the API doc. Neither
build() have a scene arg. Is it coming from
Also, if you did a
build() in one scene, can you do a build in another scene without doing another parse?
NGE is scene independent. When you create a mesh using NGE you are calling the
createMesh function, which in turn takes a scene as an optional variable. if it is not defined, it uses the LastCreatedScene.
source can be found here - Babylon.js/packages/dev/core/src/Meshes/Node/nodeGeometry.ts at master · BabylonJS/Babylon.js (github.com)