DebugTextSystem Class
Namespace: Stride.ProfilingAssembly: Stride.Engine.dll
                 Derived from DebugTextSystem: 
              
              
              
public class DebugTextSystem : GameSystemBase, IDisposable, ICollectorHolder, IGameSystemBase, IComponent, IReferencable, IUpdateable, IDrawable, IContentable
              | Name | Description | |
|---|---|---|
| Constructors | ||
| DebugTextSystem(IServiceRegistry) | ||
| Properties | ||
| TailSize | Sets or gets the size of the messages queue, older messages will be discarded if the size is greater.  | 
                          |
| TextColor | Sets or gets the color to use when drawing the profiling system fonts.  | 
                          |
| Methods | ||
| Draw(GameTime) | ||
| Print(String, Int2) | Print a custom overlay message  | 
                          |
| Print(String, Int2, Color4) | Print a custom overlay message  | 
                          |
| Update(GameTime) | ||
Constructors
DebugTextSystem(IServiceRegistry)
public DebugTextSystem(IServiceRegistry registry)
              Parameters
| Type | Name | Description | 
|---|---|---|
| IServiceRegistry | registry | 
Properties
TailSize
Sets or gets the size of the messages queue, older messages will be discarded if the size is greater.
public int TailSize { get; set; }
              Property Value
| Type | Description | 
|---|---|
| System.Int32 | 
TextColor
Sets or gets the color to use when drawing the profiling system fonts.
public Color4 TextColor { get; set; }
              Property Value
| Type | Description | 
|---|---|
| Color4 | 
Methods
Draw(GameTime)
public override void Draw(GameTime gameTime)
              Parameters
| Type | Name | Description | 
|---|---|---|
| GameTime | gameTime | 
Overrides
Print(String, Int2)
Print a custom overlay message
public void Print(string message, Int2 position)
              Parameters
| Type | Name | Description | 
|---|---|---|
| System.String | message | |
| Int2 | position | 
Print(String, Int2, Color4)
Print a custom overlay message
public void Print(string message, Int2 position, Color4 color)
              Parameters
| Type | Name | Description | 
|---|---|---|
| System.String | message | |
| Int2 | position | |
| Color4 | color | 
Update(GameTime)
public override void Update(GameTime gameTime)
              Parameters
| Type | Name | Description | 
|---|---|---|
| GameTime | gameTime |