e.g. https://codepen.io/ycw/full/abzoZdE
toggle inspector by clicking “inspect(?)”, it always lands at “properties”, but i want it to be “statistic”.
any idea
This is currently not supported in the inspector.
Would you want to do a pull request for it ? I could point you to the relevant code. Else I might try to support it a bit later.
1 Like
For a temporary solution, you can try to add this after line #104 in your codepen:
window.setTimeout(() => document.querySelector(".label[title='Statistics']").click(), 16);
2 Likes
Yup would totally work if you do not plan long plan support
Thanks @Evgeni_Popov
PR-ed.
1 Like
scene.debugLayer.show({
initialTab: DebugLayerTab.Statistics
});
since inspector 4.1.0-beta.5
2 Likes
You rock!