dat.gui how to hide menu with code

后端 未结 7 946
太阳男子
太阳男子 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();
    
    0 讨论(0)
提交回复
热议问题