dat.gui how to hide menu with code

后端 未结 7 947
太阳男子
太阳男子 2021-02-06 04:06

I made a menu using dat.gui for my applcation with Three.js. It works fine, I have also discovered that pressing h key I can hide the menu created with dat.gui. My question is h

7条回答
  •  傲寒
    傲寒 (楼主)
    2021-02-06 04:36

    I hade the same issue and solved it by:

    var gui = new dat.GUI();
    dat.GUI.toggleHide();
    

提交回复
热议问题