Hello,
I have a small experience in WebGL but I am totally new to Babylon.js, I hope I am not loosing your time with a basic question that has already been answered...
Many functions of the framework ask for a name as first parameter : like for example "sphere1" in BABYLON.Mesh.CreateSphere("sphere1", 16, 2, scene);
Sometimes, like in the babylon playground in example 17 (called Actions), all omni lights have the same name "omni" :
var light1 = new BABYLON.PointLight("omni", new BABYLON.Vector3(0, 50, 0), scene);
var light2 = new BABYLON.PointLight("omni", new BABYLON.Vector3(0, 50, 0), scene);
var light3 = new BABYLON.PointLight("omni", new BABYLON.Vector3(0, 50, 0), scene);
It looks like these names are not used afterwards in our code, are they used internally ? When I use the same name for all my objects it looks like it doesn't change anything, but I haven't made extensive testing, do you know what it is really used for internally ?
For example in the particule module, all particules have a different name ?
Thank you very much for your answer, and once more I hope I am not asking a question that has already been answered many times...