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
BeginMainThreadScope()
public static void BeginMainThreadScope()
Button(string)
public static bool Button(string text)
Parameters
text
string
Returns
Checkbox(string, ref bool)
public static bool Checkbox(string text, ref bool is_checked)
Parameters
Returns
CollapsingHeader(string)
public static bool CollapsingHeader(string label)
Parameters
label
string
Returns
Columns(int, string, bool)
public static void Columns(int count = 1, string id = "", bool border = true)
Parameters
Combo(string, ref int, string)
public static bool Combo(string label, ref int selectedIndex, string items)
Parameters
Returns
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
Returns
InputFloat2(string, ref float, ref float, int)
public static bool InputFloat2(string label, ref float val0, ref float val1, int decimalPrecision = -1)
Parameters
Returns
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
Returns
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
Returns
InputInt(string, ref int)
public static bool InputInt(string label, ref int value)
Parameters
Returns
IsItemHovered()
public static bool IsItemHovered()
Returns
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
stringvalues
float[]valuesCount
intvaluesOffset
intoverlayText
stringminScale
floatmaxScale
floatgraphWidth
floatgraphHeight
floatstride
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.ColorStylecolor
Vec3
RadioButton(string, bool)
public static bool RadioButton(string label, bool active)
Parameters
Returns
Render()
public static void Render()
SameLine(float, float)
public static void SameLine(float posX = 0, float spacingWidth = 0)
Parameters
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
Returns
SmallButton(string)
public static bool SmallButton(string label)
Parameters
label
string
Returns
Text(string)
public static void Text(string text)
Parameters
text
string
TreeNode(string)
public static bool TreeNode(string name)
Parameters
name
string
Returns
TreePop()
public static void TreePop()
This page was last modified at 09/01/2024 16:12:00 +00:00 (UTC).