Table of Contents

Class Imgui

Namespace
TaleWorlds.Engine
Assembly
TaleWorlds.Engine.dll
public class Imgui
Inheritance
Imgui
Inherited Members

Constructors

Imgui()

public Imgui()

Methods

Begin(string)

public static void Begin(string text)

Parameters

text string

Begin(string, ref bool)

public static void Begin(string text, ref bool is_open)

Parameters

text string
is_open bool

BeginMainThreadScope()

public static void BeginMainThreadScope()

Button(string)

public static bool Button(string text)

Parameters

text string

Returns

bool

Checkbox(string, ref bool)

public static bool Checkbox(string text, ref bool is_checked)

Parameters

text string
is_checked bool

Returns

bool

CollapsingHeader(string)

public static bool CollapsingHeader(string label)

Parameters

label string

Returns

bool

Columns(int, string, bool)

public static void Columns(int count = 1, string id = "", bool border = true)

Parameters

count int
id string
border bool

Combo(string, ref int, string)

public static bool Combo(string label, ref int selectedIndex, string items)

Parameters

label string
selectedIndex int
items string

Returns

bool

End()

public static void End()

EndMainThreadScope()

public static void EndMainThreadScope()

InputFloat(string, ref float, float, float, int)

public static bool InputFloat(string label, ref float val, float step, float stepFast, int decimalPrecision = -1)

Parameters

label string
val float
step float
stepFast float
decimalPrecision int

Returns

bool

InputFloat2(string, ref float, ref float, int)

public static bool InputFloat2(string label, ref float val0, ref float val1, int decimalPrecision = -1)

Parameters

label string
val0 float
val1 float
decimalPrecision int

Returns

bool

InputFloat3(string, ref float, ref float, ref float, int)

public static bool InputFloat3(string label, ref float val0, ref float val1, ref float val2, int decimalPrecision = -1)

Parameters

label string
val0 float
val1 float
val2 float
decimalPrecision int

Returns

bool

InputFloat4(string, ref float, ref float, ref float, ref float, int)

public static bool InputFloat4(string label, ref float val0, ref float val1, ref float val2, ref float val3, int decimalPrecision = -1)

Parameters

label string
val0 float
val1 float
val2 float
val3 float
decimalPrecision int

Returns

bool

InputInt(string, ref int)

public static bool InputInt(string label, ref int value)

Parameters

label string
value int

Returns

bool

IsItemHovered()

public static bool IsItemHovered()

Returns

bool

NewFrame()

public static void NewFrame()

NewLine()

public static void NewLine()

NextColumn()

public static void NextColumn()

PlotLines(string, float[], int, int, string, float, float, float, float, int)

public static void PlotLines(string name, float[] values, int valuesCount, int valuesOffset, string overlayText, float minScale, float maxScale, float graphWidth, float graphHeight, int stride)

Parameters

name string
values float[]
valuesCount int
valuesOffset int
overlayText string
minScale float
maxScale float
graphWidth float
graphHeight float
stride int

PopStyleColor()

public static void PopStyleColor()

ProgressBar(float)

public static void ProgressBar(float progress)

Parameters

progress float

PushStyleColor(ColorStyle, ref Vec3)

public static void PushStyleColor(Imgui.ColorStyle style, ref Vec3 color)

Parameters

style Imgui.ColorStyle
color Vec3

RadioButton(string, bool)

public static bool RadioButton(string label, bool active)

Parameters

label string
active bool

Returns

bool

Render()

public static void Render()

SameLine(float, float)

public static void SameLine(float posX = 0, float spacingWidth = 0)

Parameters

posX float
spacingWidth float

Separator()

public static void Separator()

SetTooltip(string)

public static void SetTooltip(string label)

Parameters

label string

SliderFloat(string, ref float, float, float)

public static bool SliderFloat(string label, ref float value, float min, float max)

Parameters

label string
value float
min float
max float

Returns

bool

SmallButton(string)

public static bool SmallButton(string label)

Parameters

label string

Returns

bool

Text(string)

public static void Text(string text)

Parameters

text string

TreeNode(string)

public static bool TreeNode(string name)

Parameters

name string

Returns

bool

TreePop()

public static void TreePop()

This page was last modified at 09/01/2024 16:12:00 +00:00 (UTC).