Provides simple draw helpers for the Engine.
More...
Provides simple draw helpers for the Engine.
◆ DrawBoundingBox()
static void OmegaEngine.EngineUtilsDraw.DrawBoundingBox |
( |
this Engine |
engine, |
|
|
BoundingBox |
box |
|
) |
| |
|
inlinestatic |
Display a BoundingBox as a wireframe model
- Parameters
-
engine | The engine to use for rendering |
box | The box to be display |
◆ DrawBoundingSphere()
static void OmegaEngine.EngineUtilsDraw.DrawBoundingSphere |
( |
this Engine |
engine, |
|
|
BoundingSphere |
sphere |
|
) |
| |
|
inlinestatic |
Display a BoundingSphere as a wireframe model
- Parameters
-
engine | The engine to use for rendering |
sphere | The sphere to be display |
◆ DrawQuadColored()
static void OmegaEngine.EngineUtilsDraw.DrawQuadColored |
( |
this Engine |
engine, |
|
|
Color |
color |
|
) |
| |
|
inlinestatic |
Draws a colored quad filling the current Viewport using TransformedColored - useful for fading
- Parameters
-
engine | The engine to use for rendering |
color | The color of the quad |
◆ DrawQuadShader()
static void OmegaEngine.EngineUtilsDraw.DrawQuadShader |
( |
this Engine |
engine | ) |
|
|
inlinestatic |
Draw a textured quad filling the current Viewport using PositionTextured - useful for PostShader
- Parameters
-
engine | The engine to use for rendering |
◆ DrawQuadTextured()
static void OmegaEngine.EngineUtilsDraw.DrawQuadTextured |
( |
this Engine |
engine | ) |
|
|
inlinestatic |
Draw a textured quad filling the current Viewport using TransformedTextured
- Parameters
-
engine | The engine to use for rendering |
◆ DrawRectangleOutline()
static void OmegaEngine.EngineUtilsDraw.DrawRectangleOutline |
( |
this Engine |
engine, |
|
|
Rectangle |
rectangle, |
|
|
Color |
color |
|
) |
| |
|
inlinestatic |
Draws a 2D colored rectangle outline
- Parameters
-
engine | The engine to use for rendering |
rectangle | The rectangle to draw |
color | The color to draw the rectangle in |
The documentation for this class was generated from the following file:
- OmegaEngine/EngineUtilsDraw.cs