Which class in which babylon folder?

I have installed babylon through npm. How do I know what folder to look for a specific class that I want to be imported? Namely, I am looking for the Matrix class folder and I can’t find it anywhere. I don’t want to import * as BABYLON. (It would lead to a longer code as I understand it.)

This is only true with the @babylonjs/core package : ES6 - Babylon.js Documentation

About the file this is the main issue :frowning: it basically follows the exact same hierarchy as the sources so the easiest is usually to locate them in the repo.

Matrix will be in @babylonjs/core/Maths/math.vector

1 Like