Search Results for

    Show / Hide Table of Contents

    Class ImGuiManager

    The ImGui integration service.

    Inheritance
    object
    IdentifiableObject
    DependencyObject
    AttachableObject
    SceneManager
    ImGuiManager
    Implements
    IDependencyObject
    Inherited Members
    SceneManager.Managers
    SceneManager.Scene
    SceneManager.OnLoaded()
    SceneManager.OnDetach()
    SceneManager.OnDestroy()
    AttachableObject.AttachableStateChanged
    AttachableObject.IsEnabled
    AttachableObject.State
    AttachableObject.IsLoaded
    AttachableObject.IsAttached
    AttachableObject.IsActivated
    AttachableObject.IsStarted
    AttachableObject.IsDestroyed
    AttachableObject.ShouldBeActivated
    AttachableObject.DependencyBroken()
    DependencyObject.Dependencies
    DependencyObject.OnDependencyRemoved
    IdentifiableObject.Id
    IdentifiableObject.IdHasChanged(Guid)
    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 string array indicating paths to custom fonts to load.

    Declaration
    public string[] CustomFonts { get; set; }
    Property Value
    Type Description
    string[]

    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

    Methods

    CreateImGuiBinding(Texture)

    Gets or creates a new ImGui texture binding.

    Declaration
    public nint CreateImGuiBinding(Texture texture)
    Parameters
    Type Name Description
    Texture texture

    The texture to bind.

    Returns
    Type Description
    nint

    The binding pointer.

    Destroy()

    Destroys this object.

    Declaration
    public override void Destroy()
    Overrides
    AttachableObject.Destroy()

    OnActivated()

    Invoked when the object is activated once it is attached.

    Declaration
    protected override void OnActivated()
    Overrides
    SceneManager.OnActivated()

    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
    SceneManager.OnAttached()

    OnDeactivated()

    Invoked when the object is deactivated.

    Declaration
    protected override void OnDeactivated()
    Overrides
    SceneManager.OnDeactivated()

    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()
    Overrides
    SceneManager.Start()

    Implements

    IDependencyObject

    Extension Methods

    ReflectionHelper.GetMemberAssembly(object)
    ReflectionHelper.GetTypeName(object)
    In this article
    Back to top
    Generated by DocFX