DatGuiUtils
Functions
- datify(model, mutationVisitor) ⇒
View
- makeControllerColor(folder, value, propertyName)
- makeControllerObservedValue(folder, value, propertyName)
- makeControllerObservedEnum(folder, value, propertyName)
- makeDatController(datFolder, parent, propertyName, path) ⇒
number
datify(model, mutationVisitor) ⇒ View
Kind: global function
Param | Type | Description |
---|---|---|
model | object | |
mutationVisitor | function | called whenever model changes |
makeControllerColor(folder, value, propertyName)
Kind: global function
Param | Type |
---|---|
folder | dat.gui.GUI |
value | Color |
propertyName | string |
makeControllerObservedValue(folder, value, propertyName)
Kind: global function
Param | Type |
---|---|
folder | dat.gui.GUI |
value | ObservedValue |
propertyName | String |
makeControllerObservedEnum(folder, value, propertyName)
Kind: global function
Param | Type |
---|---|
folder | dat.gui.GUI |
value | ObservedEnum |
propertyName | String |
makeDatController(datFolder, parent, propertyName, path) ⇒ number
Kind: global function
Returns: number
- number of added rows
Param | Type |
---|---|
datFolder | dat.GUI |
parent | object |
propertyName | String |
path | ObjectPath |