Skip to content

ImGuiSC Class

C#
public static class ImGuiSC

Inheritance object

C#
public static uint Color_White
C#
public static int ZoomNormal
C#
public static int Zoom2x
C#
public static int ZoomFit

DrawTexture(string, bool, int, Texture2D, ImGuiRenderer, out bool, out bool)

Section titled “DrawTexture(string, bool, int, Texture2D, ImGuiRenderer, out bool, out bool)”
C#
public static void DrawTexture(string id, bool border, int zoomMode, Texture2D texture, ImGuiRenderer renderer, out bool isItemActive, out bool isItemHovered)

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)”
C#
public static void DrawTexture(string id, bool border, int zoomMode, Texture2D texture, Vector2 region, ImGuiRenderer renderer, out bool isItemActive, out bool isItemHovered)

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)”
C#
public static void DrawTexture(string id, bool border, int zoomMode, ImTextureID texture, Vector2 textureSize, out bool isItemActive, out bool isItemHovered)

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)”
C#
public static void DrawTexture(string id, bool border, int zoomMode, ImTextureID texture, Vector2 textureSize, Vector2 region, out bool isItemActive, out bool isItemHovered)

id string

border bool

zoomMode int

texture Hexa.NET.ImGui.ImTextureID

textureSize Vector2

region Vector2

isItemActive bool

isItemHovered bool

C#
public static void BeginGroupPanel(string name)

name string

C#
public static void BeginGroupPanel(string name, Vector2 size)

name string

size Vector2

C#
public static void EndGroupPanel()
C#
public static void BeginGroupPanel1(string name)

name string

C#
public static void BeginGroupPanel1(string name, Vector2 size)

name string

size Vector2

C#
public static void EndGroupPanel1()
C#
public static void SeparatorText(string label, Vector4 color)

label string

color Vector4

C#
public static void SeparatorLabel(string text)

text string

C#
public static void SeparatorLabel(string text, Vector4 barColor)

text string

barColor Vector4

C#
public static void SeparatorLabel(string text, Color barColor)

text string

barColor SadRogue.Primitives.Color

C#
public static void SeparatorLabel(string text, Vector4 barColor, Vector4 textColor)

text string

barColor Vector4

textColor Vector4

C#
public static void SeparatorLabel(string text, Color barColor, Color textColor)

text string

barColor SadRogue.Primitives.Color

textColor SadRogue.Primitives.Color

ScrollableSurface(string, IScreenSurface, out Point, ImGuiRenderer)

Section titled “ScrollableSurface(string, IScreenSurface, out Point, ImGuiRenderer)”
C#
public static bool ScrollableSurface(string id, IScreenSurface Surface, out Point hoveredCellPosition, ImGuiRenderer renderer)

id string

Surface IScreenSurface

hoveredCellPosition SadRogue.Primitives.Point

renderer ImGuiRenderer

bool

VSliderIntNudges(string, Vector2, ref int, int, int)

Section titled “VSliderIntNudges(string, Vector2, ref int, int, int)”
C#
public static bool VSliderIntNudges(string label, Vector2 size, ref int v, int v_min, int v_max)

label string

size Vector2

v int

v_min int

v_max int

bool

VSliderIntNudges(string, Vector2, ref int, int, int, ImGuiSliderFlags)

Section titled “VSliderIntNudges(string, Vector2, ref int, int, int, ImGuiSliderFlags)”
C#
public static bool VSliderIntNudges(string label, Vector2 size, ref int v, int v_min, int v_max, ImGuiSliderFlags flags)

label string

size Vector2

v int

v_min int

v_max int

flags Hexa.NET.ImGui.ImGuiSliderFlags

bool

VSliderIntNudges(string, Vector2, ref int, int, int, string, ImGuiSliderFlags)

Section titled “VSliderIntNudges(string, Vector2, ref int, int, int, string, ImGuiSliderFlags)”
C#
public static bool VSliderIntNudges(string label, Vector2 size, ref int v, int v_min, int v_max, string fmt, ImGuiSliderFlags flags)

label string

size Vector2

v int

v_min int

v_max int

fmt string

flags Hexa.NET.ImGui.ImGuiSliderFlags

bool

SliderIntNudges(string, int, ref int, int, int)

Section titled “SliderIntNudges(string, int, ref int, int, int)”
C#
public static bool SliderIntNudges(string label, int width, ref int v, int v_min, int v_max)

label string

width int

v int

v_min int

v_max int

bool

SliderIntNudges(string, int, ref int, int, int, ImGuiSliderFlags)

Section titled “SliderIntNudges(string, int, ref int, int, int, ImGuiSliderFlags)”
C#
public static bool SliderIntNudges(string label, int width, ref int v, int v_min, int v_max, ImGuiSliderFlags flags)

label string

width int

v int

v_min int

v_max int

flags Hexa.NET.ImGui.ImGuiSliderFlags

bool

SliderIntNudges(string, int, ref int, int, int, string, ImGuiSliderFlags)

Section titled “SliderIntNudges(string, int, ref int, int, int, string, ImGuiSliderFlags)”
C#
public static bool SliderIntNudges(string label, int width, ref int v, int v_min, int v_max, string fmt, ImGuiSliderFlags flags)

label string

width int

v int

v_min int

v_max int

fmt string

flags Hexa.NET.ImGui.ImGuiSliderFlags

bool

C#
public static string InputText(string label, string value)

label string

value string

string

C#
public static void CenterNextWindow()

XYEditPopup(string, ref int, ref int, string, string, int)

Section titled “XYEditPopup(string, ref int, ref int, string, string, int)”
C#
public static bool XYEditPopup(string id, ref int xValue, ref int yValue, string xText, string yText, int inputWidth = 100)

id string

xValue int

yValue int

xText string

yText string

inputWidth int

bool