Table of Contents

Class EngineUtilsDraw

Namespace
OmegaEngine
Assembly
OmegaEngine.dll

Provides simple draw helpers for the Engine.

public static class EngineUtilsDraw
Inheritance
EngineUtilsDraw
Inherited Members

Methods

DrawBoundingBox(Engine, BoundingBox)

Display a SlimDX.BoundingBox as a wireframe model

public static void DrawBoundingBox(this Engine engine, BoundingBox box)

Parameters

engine Engine

The engine to use for rendering

box BoundingBox

The box to be display

DrawBoundingSphere(Engine, BoundingSphere)

Display a SlimDX.BoundingSphere as a wireframe model

public static void DrawBoundingSphere(this Engine engine, BoundingSphere sphere)

Parameters

engine Engine

The engine to use for rendering

sphere BoundingSphere

The sphere to be display

DrawQuadColored(Engine, Color)

Draws a colored quad filling the current SlimDX.Direct3D9.Viewport using TransformedColored - useful for fading

public static void DrawQuadColored(this Engine engine, Color color)

Parameters

engine Engine

The engine to use for rendering

color Color

The color of the quad

DrawQuadShader(Engine)

Draw a textured quad filling the current SlimDX.Direct3D9.Viewport using PositionTextured - useful for PostShader

public static void DrawQuadShader(this Engine engine)

Parameters

engine Engine

The engine to use for rendering

DrawQuadTextured(Engine)

Draw a textured quad filling the current SlimDX.Direct3D9.Viewport using TransformedTextured

public static void DrawQuadTextured(this Engine engine)

Parameters

engine Engine

The engine to use for rendering

DrawRectangleOutline(Engine, Rectangle, Color)

Draws a 2D colored rectangle outline

public static void DrawRectangleOutline(this Engine engine, Rectangle rectangle, Color color)

Parameters

engine Engine

The engine to use for rendering

rectangle Rectangle

The rectangle to draw

color Color

The color to draw the rectangle in