Class ImGuiManager
The ImGui integration service.
Implements
Inherited Members
Namespace: Evergine.UI
Assembly: Evergine.ImGui.dll
Syntax
public class ImGuiManager : SceneManager, IDependencyObject
Constructors
ImGuiManager()
Initializes a new instance of the ImGuiManager class.
Declaration
public ImGuiManager()
Properties
CustomFonts
Gets or sets an CustomFont array indicating custom fonts to load.
Declaration
public CustomFont[] CustomFonts { get; set; }
Property Value
| Type | Description |
|---|---|
| CustomFont[] |
ImGuizmoEnabled
Gets or sets a value indicating whether the Imguizmo extension is enabled.
Declaration
public bool ImGuizmoEnabled { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
ImNodesEnabled
Gets or sets a value indicating whether the Imnodes extension is enabled.
Declaration
public bool ImNodesEnabled { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
ImPlotEnabled
Gets or sets a value indicating whether the Implot extension is enabled.
Declaration
public bool ImPlotEnabled { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
MergeCustomFonts
Gets or sets a value indicating whether to merge custom fonts into the default font atlas.
Declaration
public bool MergeCustomFonts { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
Methods
CreateImGuiBinding(Texture)
Gets or creates a new ImGui texture binding.
Declaration
public ulong CreateImGuiBinding(Texture texture)
Parameters
| Type | Name | Description |
|---|---|---|
| Texture | texture | The texture to bind. |
Returns
| Type | Description |
|---|---|
| ulong | The binding pointer. |
Destroy()
Destroys this object.
Declaration
public override void Destroy()
Overrides
OnActivated()
Invoked when the object is activated once it is attached.
Declaration
protected override void OnActivated()
Overrides
OnAttached()
Invoked when the object is attached to the system.
Declaration
protected override bool OnAttached()
Returns
| Type | Description |
|---|---|
| bool | True if everything is OK. |
Overrides
OnDeactivated()
Invoked when the object is deactivated.
Declaration
protected override void OnDeactivated()
Overrides
RemoveImGuiBinding(Texture)
Removes an ImGui texture binding.
Declaration
public void RemoveImGuiBinding(Texture texture)
Parameters
| Type | Name | Description |
|---|---|---|
| Texture | texture | The texture to remove from the binding list. |
Start()
Invoked to start the object.
Declaration
protected override void Start()