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
Post a Comment