OmegaEngine API  1.0.3
Static Public Member Functions | List of all members
OmegaEngine.EngineUtilsDraw Class Reference

Provides simple draw helpers for the Engine. More...

Static Public Member Functions

static void DrawRectangleOutline (this Engine engine, Rectangle rectangle, Color color)
 Draws a 2D colored rectangle outline More...
 
static void DrawQuadShader (this Engine engine)
 Draw a textured quad filling the current Viewport using PositionTextured - useful for PostShader More...
 
static void DrawQuadTextured (this Engine engine)
 Draw a textured quad filling the current Viewport using TransformedTextured More...
 
static void DrawQuadColored (this Engine engine, Color color)
 Draws a colored quad filling the current Viewport using TransformedColored - useful for fading More...
 
static void DrawBoundingSphere (this Engine engine, BoundingSphere sphere)
 Display a BoundingSphere as a wireframe model More...
 
static void DrawBoundingBox (this Engine engine, BoundingBox box)
 Display a BoundingBox as a wireframe model More...
 

Detailed Description

Provides simple draw helpers for the Engine.

Member Function Documentation

◆ DrawBoundingBox()

static void OmegaEngine.EngineUtilsDraw.DrawBoundingBox ( this Engine  engine,
BoundingBox  box 
)
inlinestatic

Display a BoundingBox as a wireframe model

Parameters
engineThe engine to use for rendering
boxThe box to be display

◆ DrawBoundingSphere()

static void OmegaEngine.EngineUtilsDraw.DrawBoundingSphere ( this Engine  engine,
BoundingSphere  sphere 
)
inlinestatic

Display a BoundingSphere as a wireframe model

Parameters
engineThe engine to use for rendering
sphereThe 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
engineThe engine to use for rendering
colorThe 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
engineThe 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
engineThe 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
engineThe engine to use for rendering
rectangleThe rectangle to draw
colorThe color to draw the rectangle in

The documentation for this class was generated from the following file: