dat.gui display simple text -


is possible display simple text in dat.gui?

a text input field can achieved, use dat.gui display comments, such application controls. possible?

yes is.

first have determine location of particular text. either in gui.__controllers or gui.__folders.__controllers.

for instance, have folder called "animation", , inside folder have simple text display. rid of input associated simple text display, have manipulate domelement.

the command below,

gui.__folders["animation"].__controllers[0].domelement.hidden = true;

will hide 'input' , display 'application controls'.


Comments

Popular posts from this blog

c# - Validate object ID from GET to POST -

node.js - Custom Model Validator SailsJS -

php - Find a regex to take part of Email -