Type aliases
bool_ref
bool_ref: boolean[]
number_ref
number_ref: number[]
string_ref
string_ref: string[]
Functions
alignTextToFramePadding
- alignTextToFramePadding(): void
arrowButton
- arrowButton(strId: string, dir: Dir): boolean
-
Parameters
Returns boolean
begin
-
Parameters
Returns boolean
beginChild
- beginChild(strId: string, size?: vec2, border?: boolean, flags?: WindowFlags): boolean
- beginChild(id: number, size?: vec2, border?: boolean, flags?: WindowFlags): boolean
-
Parameters
-
strId: string
-
Optional size: vec2
-
Optional border: boolean
-
Returns boolean
-
Parameters
-
id: number
-
Optional size: vec2
-
Optional border: boolean
-
Returns boolean
beginChildFrame
-
Parameters
Returns boolean
beginCombo
- beginCombo(label: string, previewValue: string, flags?: ComboFlags): boolean
-
Parameters
-
label: string
-
previewValue: string
-
Returns boolean
beginMainMenuBar
- beginMainMenuBar(): boolean
beginMenu
- beginMenu(label: string, enabled?: boolean): boolean
-
Parameters
-
label: string
-
Optional enabled: boolean
Returns boolean
beginPopup
- beginPopup(strId: string, flags?: WindowFlags): boolean
-
Parameters
Returns boolean
beginPopupContextItem
- beginPopupContextItem(strId?: string, popupFlags?: PopupFlags): boolean
-
Parameters
-
Optional strId: string
-
Optional popupFlags: PopupFlags
Returns boolean
beginPopupContextVoid
- beginPopupContextVoid(strId?: string, popupFlags?: PopupFlags): boolean
-
Parameters
-
Optional strId: string
-
Optional popupFlags: PopupFlags
Returns boolean
beginPopupContextWindow
- beginPopupContextWindow(strId?: string, popupFlags?: PopupFlags): boolean
-
Parameters
-
Optional strId: string
-
Optional popupFlags: PopupFlags
Returns boolean
beginPopupModal
-
Parameters
Returns boolean
beginTabBar
- beginTabBar(strId: string, flags?: TabBarFlags): boolean
-
Parameters
Returns boolean
beginTabItem
-
Parameters
Returns boolean
bulletText
- bulletText(text: string): void
button
- button(label: string, size?: vec2): boolean
-
Parameters
-
label: string
-
Optional size: vec2
Returns boolean
calcListClipping
- calcListClipping(itemsCount: number, itemsHeight: number): vec2
-
Parameters
-
itemsCount: number
-
itemsHeight: number
calcTextSize
- calcTextSize(text: string, hideTextAfterDoubleHash?: boolean, wrapWidth?: number): vec2
-
Parameters
-
text: string
-
Optional hideTextAfterDoubleHash: boolean
-
Optional wrapWidth: number
captureKeyboardFromApp
- captureKeyboardFromApp(wantCaptureKeyboardValue: boolean): void
-
Parameters
-
wantCaptureKeyboardValue: boolean
Returns void
captureMouseFromApp
- captureMouseFromApp(wantCaptureMouseValue?: boolean): void
-
Parameters
-
Optional wantCaptureMouseValue: boolean
Returns void
checkbox
- checkbox(label: string, v: bool_ref): boolean
-
Parameters
Returns boolean
checkboxFlags
- checkboxFlags(label: string, flags: number_ref, flagsValue: number): boolean
-
Parameters
-
label: string
-
-
flagsValue: number
Returns boolean
closeCurrentPopup
- closeCurrentPopup(): void
collapsingHeader
-
Parameters
Returns boolean
-
Parameters
Returns boolean
colorButton
-
Parameters
-
descId: string
-
-
-
Optional size: vec2
Returns boolean
colorEdit3
-
Parameters
Returns boolean
colorEdit4
-
Parameters
Returns boolean
colorPicker3
-
Parameters
Returns boolean
colorPicker4
-
Parameters
-
label: string
-
-
-
Optional refColor: vec4
Returns boolean
columns
- columns(count?: number, id?: string, border?: boolean): void
-
Parameters
-
Optional count: number
-
Optional id: string
-
Optional border: boolean
Returns void
combo
- combo(label: string, currentItem: number_ref, items: any[], popupMaxHeightInItems?: number): boolean
-
Parameters
-
label: string
-
-
items: any[]
-
Optional popupMaxHeightInItems: number
Returns boolean
dockSpace
-
Parameters
-
id: number
-
Optional size: vec2
-
Returns void
dragFloat
- dragFloat(label: string, v: number_ref, vSpeed?: number, vMin?: number, vMax?: number, format?: string, flags?: SliderFlags): boolean
-
Parameters
-
label: string
-
-
Optional vSpeed: number
-
Optional vMin: number
-
Optional vMax: number
-
Optional format: string
-
Returns boolean
dragFloatRange
- dragFloatRange(label: string, vCurrentMin: number_ref, vCurrentMax: number_ref, vSpeed?: number, vMin?: number, vMax?: number, format?: string, formatMax?: string, flags?: SliderFlags): boolean
-
Parameters
-
label: string
-
-
-
Optional vSpeed: number
-
Optional vMin: number
-
Optional vMax: number
-
Optional format: string
-
Optional formatMax: string
-
Returns boolean
dragFloats
- dragFloats(label: string, v: number[], vSpeed?: number, vMin?: number, vMax?: number, format?: string, flags?: SliderFlags): boolean
-
Parameters
-
label: string
-
v: number[]
-
Optional vSpeed: number
-
Optional vMin: number
-
Optional vMax: number
-
Optional format: string
-
Returns boolean
dragInt
- dragInt(label: string, v: number_ref, vSpeed?: number, vMin?: number, vMax?: number, format?: string, flags?: SliderFlags): boolean
-
Parameters
-
label: string
-
-
Optional vSpeed: number
-
Optional vMin: number
-
Optional vMax: number
-
Optional format: string
-
Returns boolean
dragIntRange
- dragIntRange(label: string, vCurrentMin: number_ref, vCurrentMax: number_ref, vSpeed?: number, vMin?: number, vMax?: number, format?: string, formatMax?: string, flags?: SliderFlags): boolean
-
Parameters
-
label: string
-
-
-
Optional vSpeed: number
-
Optional vMin: number
-
Optional vMax: number
-
Optional format: string
-
Optional formatMax: string
-
Returns boolean
dragInts
- dragInts(label: string, v: number[], vSpeed?: number, vMin?: number, vMax?: number, format?: string, flags?: SliderFlags): boolean
-
Parameters
-
label: string
-
v: number[]
-
Optional vSpeed: number
-
Optional vMin: number
-
Optional vMax: number
-
Optional format: string
-
Returns boolean
getClipboardText
- getClipboardText(): string
getColor
-
Parameters
-
-
Optional alphaMul: number
-
Parameters
getColumnOffset
- getColumnOffset(columnIndex?: number): number
-
Parameters
-
Optional columnIndex: number
Returns number
getColumnWidth
- getColumnWidth(columnIndex?: number): number
-
Parameters
-
Optional columnIndex: number
Returns number
getColumnsCount
- getColumnsCount(): number
getContentRegionAvail
- getContentRegionAvail(): vec2
getContentRegionMax
- getContentRegionMax(): vec2
getCursorScreenPos
- getCursorScreenPos(): vec2
getCursorStartPos
- getCursorStartPos(): vec2
getFontTexUvWhitePixel
- getFontTexUvWhitePixel(): vec2
getFrameHeightWithSpacing
- getFrameHeightWithSpacing(): number
getId
- getId(strId: string): number
- getId(ptrId: number): number
-
Parameters
Returns number
-
Parameters
Returns number
getKeyPressedAmount
- getKeyPressedAmount(keyIndex: Scancode, repeatDelay: number, rate: number): number
-
Parameters
-
-
repeatDelay: number
-
rate: number
Returns number
getMouseDragDelta
-
Parameters
-
-
Optional lockThreshold: number
getMousePosOnOpeningCurrentPopup
- getMousePosOnOpeningCurrentPopup(): vec2
getStyleColorName
- getStyleColorName(idx: Col): string
-
Parameters
Returns string
getTextLineHeight
- getTextLineHeight(): number
getTextLineHeightWithSpacing
- getTextLineHeightWithSpacing(): number
getTreeNodeToLabelSpacing
- getTreeNodeToLabelSpacing(): number
getWindowContentRegionMax
- getWindowContentRegionMax(): vec2
getWindowContentRegionMin
- getWindowContentRegionMin(): vec2
getWindowContentRegionWidth
- getWindowContentRegionWidth(): number
getWindowDockId
- getWindowDockId(): number
getWindowDpiScale
- getWindowDpiScale(): number
getWindowHeight
- getWindowHeight(): number
image
- image(userTextureId: number, size: vec2, uv0?: vec2, uv1?: vec2, tintCol?: vec4, borderCol?: vec4): void
-
Parameters
-
userTextureId: number
-
-
Optional uv0: vec2
-
Optional uv1: vec2
-
Optional tintCol: vec4
-
Optional borderCol: vec4
Returns void
imageButton
- imageButton(userTextureId: number, size: vec2, uv0?: vec2, uv1?: vec2, framePadding?: number, bgCol?: vec4, tintCol?: vec4): boolean
-
Parameters
-
userTextureId: number
-
-
Optional uv0: vec2
-
Optional uv1: vec2
-
Optional framePadding: number
-
Optional bgCol: vec4
-
Optional tintCol: vec4
Returns boolean
indent
- indent(indentW?: number): void
inputDouble
- inputDouble(label: string, v: number_ref, step?: number, stepFast?: number, format?: string, flags?: InputTextFlags): boolean
-
Parameters
-
label: string
-
-
Optional step: number
-
Optional stepFast: number
-
Optional format: string
-
Returns boolean
inputFloat
- inputFloat(label: string, v: number_ref, step?: number, stepFast?: number, format?: string, flags?: InputTextFlags): boolean
-
Parameters
-
label: string
-
-
Optional step: number
-
Optional stepFast: number
-
Optional format: string
-
Returns boolean
inputFloats
- inputFloats(label: string, v: number[], step?: number, stepFast?: number, format?: string, flags?: InputTextFlags): boolean
-
Parameters
-
label: string
-
v: number[]
-
Optional step: number
-
Optional stepFast: number
-
Optional format: string
-
Returns boolean
inputInt
-
Parameters
-
label: string
-
-
Optional step: number
-
Optional stepFast: number
-
Returns boolean
inputInts
- inputInts(label: string, v: number[], step?: number, stepFast?: number, format?: string, flags?: InputTextFlags): boolean
-
Parameters
-
label: string
-
v: number[]
-
Optional step: number
-
Optional stepFast: number
-
Optional format: string
-
Returns boolean
inputText
-
Parameters
Returns boolean
inputTextMultiline
-
Parameters
-
label: string
-
-
Optional size: vec2
-
Returns boolean
inputTextWithHint
-
Parameters
-
label: string
-
hint: string
-
-
Returns boolean
invisibleButton
-
Parameters
Returns boolean
isAnyItemActive
- isAnyItemActive(): boolean
isAnyItemFocused
- isAnyItemFocused(): boolean
isAnyItemHovered
- isAnyItemHovered(): boolean
isAnyMouseDown
- isAnyMouseDown(): boolean
isItemActivated
- isItemActivated(): boolean
isItemClicked
-
Parameters
Returns boolean
isItemDeactivated
- isItemDeactivated(): boolean
isItemDeactivatedAfterEdit
- isItemDeactivatedAfterEdit(): boolean
isItemHovered
-
Parameters
Returns boolean
isItemToggledOpen
- isItemToggledOpen(): boolean
isKeyDown
-
Parameters
Returns boolean
isKeyPressed
- isKeyPressed(keyIndex: Scancode, repeat?: boolean): boolean
-
Parameters
Returns boolean
isKeyReleased
- isKeyReleased(keyIndex: Scancode): boolean
-
Parameters
Returns boolean
isMouseClicked
- isMouseClicked(button: MouseButton, repeat?: boolean): boolean
-
Parameters
Returns boolean
isMouseDoubleClicked
-
Parameters
Returns boolean
isMouseDown
-
Parameters
Returns boolean
isMouseDragging
- isMouseDragging(button: MouseButton, lockThreshold?: number): boolean
-
Parameters
-
-
Optional lockThreshold: number
Returns boolean
isMouseHoveringRect
- isMouseHoveringRect(rMin: vec2, rMax: vec2, clip?: boolean): boolean
-
Parameters
Returns boolean
isMousePosValid
- isMousePosValid(mousePos?: vec2): boolean
-
Parameters
Returns boolean
isMouseReleased
-
Parameters
Returns boolean
isPopupOpen
- isPopupOpen(strId: string, flags?: PopupFlags): boolean
-
Parameters
Returns boolean
isRectVisible
- isRectVisible(size: vec2): boolean
- isRectVisible(rectMin: vec2, rectMax: vec2): boolean
-
Parameters
Returns boolean
-
Parameters
Returns boolean
isWindowAppearing
- isWindowAppearing(): boolean
isWindowCollapsed
- isWindowCollapsed(): boolean
isWindowDocked
- isWindowDocked(): boolean
isWindowFocused
-
Parameters
Returns boolean
isWindowHovered
-
Parameters
Returns boolean
labelText
- labelText(label: string, text: string): void
-
Parameters
-
label: string
-
text: string
Returns void
listBox
- listBox(label: string, currentItem: number_ref, items: any[], heightInItems?: number): boolean
-
Parameters
-
label: string
-
-
items: any[]
-
Optional heightInItems: number
Returns boolean
listBoxHeader
- listBoxHeader(label: string, size?: vec2): boolean
- listBoxHeader(label: string, itemsCount: number, heightInItems?: number): boolean
-
Parameters
-
label: string
-
Optional size: vec2
Returns boolean
-
Parameters
-
label: string
-
itemsCount: number
-
Optional heightInItems: number
Returns boolean
loadIniSettingsFromDisk
- loadIniSettingsFromDisk(iniFilename: string): void
loadIniSettingsFromMemory
- loadIniSettingsFromMemory(iniData: Buffer): void
logText
- logText(text: string): void
logToClipboard
- logToClipboard(autoOpenDepth?: number): void
-
Parameters
-
Optional autoOpenDepth: number
Returns void
logToFile
- logToFile(autoOpenDepth?: number, filename?: string): void
-
Parameters
-
Optional autoOpenDepth: number
-
Optional filename: string
Returns void
logToTTY
- logToTTY(autoOpenDepth?: number): void
-
Parameters
-
Optional autoOpenDepth: number
Returns void
menuItem
- menuItem(label: string, shortcut?: string, selected?: boolean, enabled?: boolean): boolean
- menuItem(label: string, shortcut: string, selected: bool_ref, enabled?: boolean): boolean
-
Parameters
-
label: string
-
Optional shortcut: string
-
Optional selected: boolean
-
Optional enabled: boolean
Returns boolean
-
Parameters
-
label: string
-
shortcut: string
-
-
Optional enabled: boolean
Returns boolean
openPopup
- openPopup(strId: string, popupFlags?: PopupFlags): void
openPopupContextItem
- openPopupContextItem(strId?: string, popupFlags?: PopupFlags): boolean
-
Parameters
-
Optional strId: string
-
Optional popupFlags: PopupFlags
Returns boolean
plotHistogram
- plotHistogram(label: string, values: number[], valuesOffset?: number, overlayText?: string, scaleMin?: number, scaleMax?: number, graphSize?: vec2): void
-
Parameters
-
label: string
-
values: number[]
-
Optional valuesOffset: number
-
Optional overlayText: string
-
Optional scaleMin: number
-
Optional scaleMax: number
-
Optional graphSize: vec2
Returns void
plotLines
- plotLines(label: string, values: number[], valuesOffset?: number, overlayText?: string, scaleMin?: number, scaleMax?: number, graphSize?: vec2): void
-
Parameters
-
label: string
-
values: number[]
-
Optional valuesOffset: number
-
Optional overlayText: string
-
Optional scaleMin: number
-
Optional scaleMax: number
-
Optional graphSize: vec2
Returns void
popAllowKeyboardFocus
- popAllowKeyboardFocus(): void
popStyleColor
- popStyleColor(count?: number): void
popStyleVar
- popStyleVar(count?: number): void
progressBar
- progressBar(fraction: number, sizeArg?: vec2, overlay?: string): void
-
Parameters
-
fraction: number
-
Optional sizeArg: vec2
-
Optional overlay: string
Returns void
pushAllowKeyboardFocus
- pushAllowKeyboardFocus(allowKeyboardFocus: boolean): void
-
Parameters
-
allowKeyboardFocus: boolean
Returns void
pushButtonRepeat
- pushButtonRepeat(repeat: boolean): void
pushClipRect
- pushClipRect(clipRectMin: vec2, clipRectMax: vec2, intersectWithCurrentClipRect: boolean): void
-
Parameters
-
clipRectMin: vec2
-
clipRectMax: vec2
-
intersectWithCurrentClipRect: boolean
Returns void
pushId
- pushId(strId: string): void
- pushId(ptrId: number): void
-
Parameters
Returns void
-
Parameters
Returns void
pushItemDisabled
- pushItemDisabled(disabled: boolean): void
pushItemWidth
- pushItemWidth(itemWidth: number): void
pushStyleColor
- pushStyleColor(idx: Col, col: vec4): void
pushStyleVar
-
Parameters
Returns void
-
Parameters
Returns void
pushTextWrapPos
- pushTextWrapPos(wrapLocalPosX?: number): void
-
Parameters
-
Optional wrapLocalPosX: number
Returns void
radioButton
- radioButton(label: string, active: boolean): boolean
- radioButton(label: string, v: number_ref, vButton: number): boolean
-
Parameters
-
label: string
-
active: boolean
Returns boolean
-
Parameters
-
label: string
-
-
vButton: number
Returns boolean
sameLine
- sameLine(offsetFromStartX?: number, spacing?: number): void
-
Parameters
-
Optional offsetFromStartX: number
-
Optional spacing: number
Returns void
saveIniSettingsToDisk
- saveIniSettingsToDisk(iniFilename: string): void
saveIniSettingsToMemory
- saveIniSettingsToMemory(): Buffer
selectable
-
Parameters
-
label: string
-
Optional selected: boolean
-
-
Optional size: vec2
Returns boolean
-
Parameters
-
label: string
-
-
-
Optional size: vec2
Returns boolean
setClipboardText
- setClipboardText(text: string): void
setColumnOffset
- setColumnOffset(columnIndex: number, offsetX: number): void
-
Parameters
-
columnIndex: number
-
offsetX: number
Returns void
setColumnWidth
- setColumnWidth(columnIndex: number, width: number): void
-
Parameters
-
columnIndex: number
-
width: number
Returns void
setCursorPos
- setCursorPos(localPos: vec2): void
setCursorPosX
- setCursorPosX(localX: number): void
setCursorPosY
- setCursorPosY(localY: number): void
setCursorScreenPos
- setCursorScreenPos(pos: vec2): void
setItemAllowOverlap
- setItemAllowOverlap(): void
setItemDefaultFocus
- setItemDefaultFocus(): void
setKeyboardFocusHere
- setKeyboardFocusHere(offset?: number): void
setNextItemOpen
- setNextItemOpen(isOpen: boolean, cond?: Cond): void
-
Parameters
-
isOpen: boolean
-
Optional cond: Cond
Returns void
setNextItemWidth
- setNextItemWidth(itemWidth: number): void
setNextWindowBgAlpha
- setNextWindowBgAlpha(alpha: number): void
setNextWindowCollapsed
- setNextWindowCollapsed(collapsed: boolean, cond?: Cond): void
-
Parameters
-
collapsed: boolean
-
Optional cond: Cond
Returns void
setNextWindowContentSize
- setNextWindowContentSize(size: vec2): void
setNextWindowFocus
- setNextWindowFocus(): void
setNextWindowPos
- setNextWindowPos(pos: vec2, cond?: Cond, pivot?: vec2): void
-
Parameters
-
-
Optional cond: Cond
-
Optional pivot: vec2
Returns void
setNextWindowSize
- setNextWindowSize(size: vec2, cond?: Cond): void
setNextWindowSizeConstraints
- setNextWindowSizeConstraints(sizeMin: vec2, sizeMax: vec2): void
setNextWindowViewport
- setNextWindowViewport(viewportId: number): void
setScrollFromPosX
- setScrollFromPosX(localX: number, centerXRatio?: number): void
-
Parameters
-
localX: number
-
Optional centerXRatio: number
Returns void
setScrollFromPosY
- setScrollFromPosY(localY: number, centerYRatio?: number): void
-
Parameters
-
localY: number
-
Optional centerYRatio: number
Returns void
setScrollHereX
- setScrollHereX(centerXRatio?: number): void
-
Parameters
-
Optional centerXRatio: number
Returns void
setScrollHereY
- setScrollHereY(centerYRatio?: number): void
-
Parameters
-
Optional centerYRatio: number
Returns void
setScrollX
- setScrollX(scrollX: number): void
setScrollY
- setScrollY(scrollY: number): void
setTabItemClosed
- setTabItemClosed(tabOrDockedWindowLabel: string): void
-
Parameters
-
tabOrDockedWindowLabel: string
Returns void
setTooltip
- setTooltip(text: string): void
setWindowCollapsed
- setWindowCollapsed(collapsed: boolean, cond?: Cond): void
- setWindowCollapsed(name: string, collapsed: boolean, cond?: Cond): void
-
Parameters
-
collapsed: boolean
-
Optional cond: Cond
Returns void
-
Parameters
-
name: string
-
collapsed: boolean
-
Optional cond: Cond
Returns void
setWindowFocus
- setWindowFocus(): void
- setWindowFocus(name: string): void
-
Returns void
-
Parameters
Returns void
setWindowFontScale
- setWindowFontScale(scale: number): void
setWindowPos
- setWindowPos(pos: vec2, cond?: Cond): void
- setWindowPos(name: string, pos: vec2, cond?: Cond): void
-
Parameters
Returns void
-
Parameters
-
name: string
-
-
Optional cond: Cond
Returns void
setWindowSize
- setWindowSize(size: vec2, cond?: Cond): void
- setWindowSize(name: string, size: vec2, cond?: Cond): void
-
Parameters
Returns void
-
Parameters
-
name: string
-
-
Optional cond: Cond
Returns void
showMetricsWindow
- showMetricsWindow(open?: bool_ref): void
showStyleSelector
- showStyleSelector(): void
sliderAngle
- sliderAngle(label: string, vRad: number_ref, vDegreesMin?: number, vDegreesMax?: number, format?: string, flags?: SliderFlags): boolean
-
Parameters
-
label: string
-
-
Optional vDegreesMin: number
-
Optional vDegreesMax: number
-
Optional format: string
-
Returns boolean
sliderFloat
- sliderFloat(label: string, v: number_ref, vMin: number, vMax: number, format?: string, flags?: SliderFlags): boolean
-
Parameters
-
label: string
-
-
vMin: number
-
vMax: number
-
Optional format: string
-
Returns boolean
sliderFloats
- sliderFloats(label: string, v: number[], vMin: number, vMax: number, format?: string, flags?: SliderFlags): boolean
-
Parameters
-
label: string
-
v: number[]
-
vMin: number
-
vMax: number
-
Optional format: string
-
Returns boolean
sliderInt
- sliderInt(label: string, v: number_ref, vMin: number, vMax: number, format?: string, flags?: SliderFlags): boolean
-
Parameters
-
label: string
-
-
vMin: number
-
vMax: number
-
Optional format: string
-
Returns boolean
sliderInts
- sliderInts(label: string, v: number[], vMin: number, vMax: number, format?: string, flags?: SliderFlags): boolean
-
Parameters
-
label: string
-
v: number[]
-
vMin: number
-
vMax: number
-
Optional format: string
-
Returns boolean
smallButton
- smallButton(label: string): boolean
-
Parameters
Returns boolean
styleColorsClassic
- styleColorsClassic(): void
textColored
- textColored(text: string, col: vec4): void
textDisabled
- textDisabled(text: string): void
textWrapped
- textWrapped(text: string): void
treeNode
-
Parameters
Returns boolean
treeNodeEx
- treeNodeEx(strId: string, label: string, flags?: TreeNodeFlags): boolean
- treeNodeEx(ptrId: number, label: string, flags?: TreeNodeFlags): boolean
-
Parameters
-
strId: string
-
label: string
-
Returns boolean
-
Parameters
-
ptrId: number
-
label: string
-
Returns boolean
treePush
- treePush(strId: string): void
- treePush(ptrId: number): void
- treePush(): void
-
Parameters
Returns void
-
Parameters
Returns void
-
Returns void
unindent
- unindent(indentW?: number): void
vSliderFloat
- vSliderFloat(label: string, size: vec2, v: number_ref, vMin: number, vMax: number, format?: string, flags?: SliderFlags): boolean
-
Parameters
-
label: string
-
-
-
vMin: number
-
vMax: number
-
Optional format: string
-
Returns boolean
vSliderInt
- vSliderInt(label: string, size: vec2, v: number_ref, vMin: number, vMax: number, format?: string, flags?: SliderFlags): boolean
-
Parameters
-
label: string
-
-
-
vMin: number
-
vMax: number
-
Optional format: string
-
Returns boolean
valueBool
- valueBool(prefix: string, b: boolean): void
-
Parameters
-
prefix: string
-
b: boolean
Returns void
valueFloat
- valueFloat(prefix: string, v: number, format?: string): void
-
Parameters
-
prefix: string
-
v: number
-
Optional format: string
Returns void
valueInt
- valueInt(prefix: string, v: number): void