Class ImGuiMonoGameComponent
Inherited Members
DrawableGameComponent.Initialize()
DrawableGameComponent.LoadContent()
DrawableGameComponent.UnloadContent()
DrawableGameComponent.GraphicsDevice
DrawableGameComponent.DrawOrder
DrawableGameComponent.Visible
DrawableGameComponent.DrawOrderChanged
DrawableGameComponent.VisibleChanged
GameComponent.Dispose()
GameComponent.Game
GameComponent.Enabled
GameComponent.UpdateOrder
GameComponent.EnabledChanged
GameComponent.UpdateOrderChanged
Namespace: SadConsole.ImGuiSystem
Assembly: SadConsole.Debug.MonoGame.dll
Syntax
public class ImGuiMonoGameComponent : DrawableGameComponent, IGameComponent, IUpdateable, IDisposable, IDrawable
Constructors
ImGuiMonoGameComponent(GraphicsDeviceManager, Game, bool)
Declaration
public ImGuiMonoGameComponent(GraphicsDeviceManager graphics, Game game, bool enableDocking)
Parameters
| Type | Name | Description |
|---|---|---|
| GraphicsDeviceManager | graphics | |
| Game | game | |
| bool | enableDocking |
Fields
ImGuiRenderer
Declaration
public ImGuiRenderer ImGuiRenderer
Field Value
| Type | Description |
|---|---|
| ImGuiRenderer |
Properties
UIComponents
Declaration
public List<ImGuiObjectBase> UIComponents { get; }
Property Value
| Type | Description |
|---|---|
| List<ImGuiObjectBase> |
WantsKeyboardCapture
Declaration
public bool WantsKeyboardCapture { get; }
Property Value
| Type | Description |
|---|---|
| bool |
WantsMouseCapture
Declaration
public bool WantsMouseCapture { get; }
Property Value
| Type | Description |
|---|---|
| bool |
Methods
Draw(GameTime)
Declaration
public override void Draw(GameTime gameTime)
Parameters
| Type | Name | Description |
|---|---|---|
| GameTime | gameTime |
Overrides
Microsoft.Xna.Framework.DrawableGameComponent.Draw(Microsoft.Xna.Framework.GameTime)
Update(GameTime)
Declaration
public override void Update(GameTime gameTime)
Parameters
| Type | Name | Description |
|---|---|---|
| GameTime | gameTime |
Overrides
Microsoft.Xna.Framework.GameComponent.Update(Microsoft.Xna.Framework.GameTime)
Events
HostClosed
Declaration
public event EventHandler HostClosed
Event Type
| Type | Description |
|---|---|
| EventHandler |
Implements
Microsoft.Xna.Framework.IGameComponent
Microsoft.Xna.Framework.IUpdateable
Microsoft.Xna.Framework.IDrawable