I wish to understand more about babylonjs so that I don’t misunderstand it and can, as a result, work with it more easily.
I’ve found that several classes, e.g. Camera, AbstractMesh, Control, are missing member variables or functions common to all their derived classes.
The GUI Control
, for example, doesn’t have an addControl()
even though every class that extends it, as far as I know, does. Is it to account for things like the GUI Grid having an unique addControl()
?
In the case of AbstractMesh
, both InstancedMesh
and Mesh
implement createInstance()
.