private igBegin2 ( string name, bool &p_opened, Vector2 size_on_first_use, float bg_alpha, WindowFlags flags ) : bool | ||
name | string | |
p_opened | bool | |
size_on_first_use | Vector2 | |
bg_alpha | float | |
flags | WindowFlags | |
return | bool |
public static unsafe bool BeginWindow(string windowTitle, ref bool opened, Vector2 startingSize, float backgroundAlpha, WindowFlags flags) { byte openedLocal = opened ? (byte)1 : (byte)0; bool ret = ImGuiNative.igBegin2(windowTitle, &openedLocal, startingSize, backgroundAlpha, flags); opened = openedLocal != 0; return(ret); }
public static unsafe bool BeginWindow(string windowTitle, ref bool opened, Vector2 startingSize, WindowFlags flags) { byte openedLocal = opened ? (byte)1 : (byte)0; bool ret = ImGuiNative.igBegin2(windowTitle, &openedLocal, startingSize.ToNumericsVector2(), 1f, flags); opened = openedLocal != 0; return(ret); }
public static bool BeginWindow(string windowTitle, ref bool opened, Vector2 startingSize, float backgroundAlpha, WindowFlags flags) { return(ImGuiNative.igBegin2(windowTitle, ref opened, startingSize, backgroundAlpha, flags)); }
public static bool Begin(string windowTitle, ref bool opened, ImVec2 startingSize, float backgroundAlpha, ImGuiWindowFlags flags = ImGuiWindowFlags.Default) { return(ImGuiNative.igBegin2(windowTitle, ref opened, startingSize, backgroundAlpha, flags)); }
public static bool Begin(string windowTitle, ref bool opened, ImVec2 startingSize, ImGuiWindowFlags flags = ImGuiWindowFlags.Default) => ImGuiNative.igBegin2(windowTitle, ref opened, startingSize, 1f, flags);
public static bool Begin(string windowTitle, ref bool opened, float backgroundAlpha, ImGuiWindowFlags flags = ImGuiWindowFlags.Default) => ImGuiNative.igBegin2(windowTitle, ref opened, new ImVec2(), backgroundAlpha, flags);