"@babylonjs/core": "5.0.0-alpha.33", "@babylonjs/inspector": "5.0.0-alpha.33", "@babylonjs/loaders": "5.0.0-alpha.33", "@babylonjs/materials": "5.0.0-alpha.33",
I was wondering why doing the following did not show an outline on my mesh as I thought it should:
mesh.renderOutline = true
For some reason, if I do the following at the top of the file, the outlines work (this took me a bit of time to figure out):
Also, inside of Visual Studio Code, the property “
mesh.renderOutline” does not seem to exist?
@babylonjs/inspector a requirement for
mesh.renderOutline to work, or am I going down the wrong path?
…Also, I don’t thiiiink I want to include
@babylonjs/inspector in my production build…do I (is it not too bad? I don’t really know lol)? But I do want my meshes to have the outline effect.