Constructors
constructor
- new Datguif(guiParams: dat.GUIParams): Datguif
Methods
addButton
- addButton(label: string, callback: Function): void
-
Parameters
-
label: string
-
callback: Function
Returns void
addFolder
- addFolder(folderName: string, parentFolderName: string): dat.GUI
-
Parameters
-
folderName: string
-
Optional parentFolderName: string
Returns dat.GUI
addObjectPropertyToFolder
- addObjectPropertyToFolder(folderName: string, obj: any, config: guiDisplayConfig): void
-
Parameters
-
folderName: string
-
obj: any
-
Returns void
addObjectToFolder
- addObjectToFolder(folderName: string, obj: Object, mapping: Array<guiDisplayConfig>): void
-
Parameters
-
folderName: string
-
obj: Object
-
Returns void
addToFolder
- addToFolder(folderName: string, obj: Object, keyName: string): void
-
Parameters
-
folderName: string
-
obj: Object
-
keyName: string
Returns void
folderExists
- folderExists(folderName: string): boolean
-
Parameters
Returns boolean
onUpdate
- onUpdate(callback: Function): void