ImGuiSC Class
Definition
Section titled “Definition”public static class ImGuiSCInheritance object
Fields
Section titled “Fields”Color_White
Section titled “Color_White”public static uint Color_WhiteZoomNormal
Section titled “ZoomNormal”public static int ZoomNormalZoom2x
Section titled “Zoom2x”public static int Zoom2xZoomFit
Section titled “ZoomFit”public static int ZoomFitMethods
Section titled “Methods”DrawTexture(string, bool, int, Texture2D, ImGuiRenderer, out bool, out bool)
Section titled “DrawTexture(string, bool, int, Texture2D, ImGuiRenderer, out bool, out bool)”public static void DrawTexture(string id, bool border, int zoomMode, Texture2D texture, ImGuiRenderer renderer, out bool isItemActive, out bool isItemHovered)Parameters
Section titled “Parameters”id string
border bool
zoomMode int
texture Microsoft.Xna.Framework.Graphics.Texture2D
renderer ImGuiRenderer
isItemActive bool
isItemHovered bool
DrawTexture(string, bool, int, Texture2D, Vector2, ImGuiRenderer, out bool, out bool)
Section titled “DrawTexture(string, bool, int, Texture2D, Vector2, ImGuiRenderer, out bool, out bool)”public static void DrawTexture(string id, bool border, int zoomMode, Texture2D texture, Vector2 region, ImGuiRenderer renderer, out bool isItemActive, out bool isItemHovered)Parameters
Section titled “Parameters”id string
border bool
zoomMode int
texture Microsoft.Xna.Framework.Graphics.Texture2D
region Vector2
renderer ImGuiRenderer
isItemActive bool
isItemHovered bool
DrawTexture(string, bool, int, ImTextureID, Vector2, out bool, out bool)
Section titled “DrawTexture(string, bool, int, ImTextureID, Vector2, out bool, out bool)”public static void DrawTexture(string id, bool border, int zoomMode, ImTextureID texture, Vector2 textureSize, out bool isItemActive, out bool isItemHovered)Parameters
Section titled “Parameters”id string
border bool
zoomMode int
texture Hexa.NET.ImGui.ImTextureID
textureSize Vector2
isItemActive bool
isItemHovered bool
DrawTexture(string, bool, int, ImTextureID, Vector2, Vector2, out bool, out bool)
Section titled “DrawTexture(string, bool, int, ImTextureID, Vector2, Vector2, out bool, out bool)”public static void DrawTexture(string id, bool border, int zoomMode, ImTextureID texture, Vector2 textureSize, Vector2 region, out bool isItemActive, out bool isItemHovered)Parameters
Section titled “Parameters”id string
border bool
zoomMode int
texture Hexa.NET.ImGui.ImTextureID
textureSize Vector2
region Vector2
isItemActive bool
isItemHovered bool
BeginGroupPanel(string)
Section titled “BeginGroupPanel(string)”public static void BeginGroupPanel(string name)Parameters
Section titled “Parameters”name string
BeginGroupPanel(string, Vector2)
Section titled “BeginGroupPanel(string, Vector2)”public static void BeginGroupPanel(string name, Vector2 size)Parameters
Section titled “Parameters”name string
size Vector2
EndGroupPanel()
Section titled “EndGroupPanel()”public static void EndGroupPanel()BeginGroupPanel1(string)
Section titled “BeginGroupPanel1(string)”public static void BeginGroupPanel1(string name)Parameters
Section titled “Parameters”name string
BeginGroupPanel1(string, Vector2)
Section titled “BeginGroupPanel1(string, Vector2)”public static void BeginGroupPanel1(string name, Vector2 size)Parameters
Section titled “Parameters”name string
size Vector2
EndGroupPanel1()
Section titled “EndGroupPanel1()”public static void EndGroupPanel1()SeparatorText(string, Vector4)
Section titled “SeparatorText(string, Vector4)”public static void SeparatorText(string label, Vector4 color)Parameters
Section titled “Parameters”label string
color Vector4
SeparatorLabel(string)
Section titled “SeparatorLabel(string)”public static void SeparatorLabel(string text)Parameters
Section titled “Parameters”text string
SeparatorLabel(string, Vector4)
Section titled “SeparatorLabel(string, Vector4)”public static void SeparatorLabel(string text, Vector4 barColor)Parameters
Section titled “Parameters”text string
barColor Vector4
SeparatorLabel(string, Color)
Section titled “SeparatorLabel(string, Color)”public static void SeparatorLabel(string text, Color barColor)Parameters
Section titled “Parameters”text string
barColor SadRogue.Primitives.Color
SeparatorLabel(string, Vector4, Vector4)
Section titled “SeparatorLabel(string, Vector4, Vector4)”public static void SeparatorLabel(string text, Vector4 barColor, Vector4 textColor)Parameters
Section titled “Parameters”text string
barColor Vector4
textColor Vector4
SeparatorLabel(string, Color, Color)
Section titled “SeparatorLabel(string, Color, Color)”public static void SeparatorLabel(string text, Color barColor, Color textColor)Parameters
Section titled “Parameters”text string
barColor SadRogue.Primitives.Color
textColor SadRogue.Primitives.Color
ScrollableSurface(string, IScreenSurface, out Point, ImGuiRenderer)
Section titled “ScrollableSurface(string, IScreenSurface, out Point, ImGuiRenderer)”public static bool ScrollableSurface(string id, IScreenSurface Surface, out Point hoveredCellPosition, ImGuiRenderer renderer)Parameters
Section titled “Parameters”id string
Surface IScreenSurface
hoveredCellPosition SadRogue.Primitives.Point
renderer ImGuiRenderer
Returns
Section titled “Returns”VSliderIntNudges(string, Vector2, ref int, int, int)
Section titled “VSliderIntNudges(string, Vector2, ref int, int, int)”public static bool VSliderIntNudges(string label, Vector2 size, ref int v, int v_min, int v_max)Parameters
Section titled “Parameters”label string
size Vector2
v int
v_min int
v_max int
Returns
Section titled “Returns”VSliderIntNudges(string, Vector2, ref int, int, int, ImGuiSliderFlags)
Section titled “VSliderIntNudges(string, Vector2, ref int, int, int, ImGuiSliderFlags)”public static bool VSliderIntNudges(string label, Vector2 size, ref int v, int v_min, int v_max, ImGuiSliderFlags flags)Parameters
Section titled “Parameters”label string
size Vector2
v int
v_min int
v_max int
flags Hexa.NET.ImGui.ImGuiSliderFlags
Returns
Section titled “Returns”VSliderIntNudges(string, Vector2, ref int, int, int, string, ImGuiSliderFlags)
Section titled “VSliderIntNudges(string, Vector2, ref int, int, int, string, ImGuiSliderFlags)”public static bool VSliderIntNudges(string label, Vector2 size, ref int v, int v_min, int v_max, string fmt, ImGuiSliderFlags flags)Parameters
Section titled “Parameters”label string
size Vector2
v int
v_min int
v_max int
fmt string
flags Hexa.NET.ImGui.ImGuiSliderFlags
Returns
Section titled “Returns”SliderIntNudges(string, int, ref int, int, int)
Section titled “SliderIntNudges(string, int, ref int, int, int)”public static bool SliderIntNudges(string label, int width, ref int v, int v_min, int v_max)Parameters
Section titled “Parameters”label string
width int
v int
v_min int
v_max int
Returns
Section titled “Returns”SliderIntNudges(string, int, ref int, int, int, ImGuiSliderFlags)
Section titled “SliderIntNudges(string, int, ref int, int, int, ImGuiSliderFlags)”public static bool SliderIntNudges(string label, int width, ref int v, int v_min, int v_max, ImGuiSliderFlags flags)Parameters
Section titled “Parameters”label string
width int
v int
v_min int
v_max int
flags Hexa.NET.ImGui.ImGuiSliderFlags
Returns
Section titled “Returns”SliderIntNudges(string, int, ref int, int, int, string, ImGuiSliderFlags)
Section titled “SliderIntNudges(string, int, ref int, int, int, string, ImGuiSliderFlags)”public static bool SliderIntNudges(string label, int width, ref int v, int v_min, int v_max, string fmt, ImGuiSliderFlags flags)Parameters
Section titled “Parameters”label string
width int
v int
v_min int
v_max int
fmt string
flags Hexa.NET.ImGui.ImGuiSliderFlags
Returns
Section titled “Returns”InputText(string, string)
Section titled “InputText(string, string)”public static string InputText(string label, string value)Parameters
Section titled “Parameters”label string
value string
Returns
Section titled “Returns”CenterNextWindow()
Section titled “CenterNextWindow()”public static void CenterNextWindow()XYEditPopup(string, ref int, ref int, string, string, int)
Section titled “XYEditPopup(string, ref int, ref int, string, string, int)”public static bool XYEditPopup(string id, ref int xValue, ref int yValue, string xText, string yText, int inputWidth = 100)Parameters
Section titled “Parameters”id string
xValue int
yValue int
xText string
yText string
inputWidth int