Customizing Min and Max Values
cody4dev opened this issue · comments
I am using dat.gui on MorphTargets . By Default GUI takes 0 as min and 1 as max , I want to set 10 as the min value and 20 .
You may be looking for the .min(10)
.max(20)
functions here: https://github.com/dataarts/dat.gui/blob/master/API.md#numbercontroller--datcontrollerscontroller
For example:
gui.add(obj, 'maxSize').min(-10).max(10).step(0.25);