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
EngineThe engine to use for rendering
box
BoundingBoxThe 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
EngineThe engine to use for rendering
sphere
BoundingSphereThe 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
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
EngineThe 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
EngineThe 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)