| DebugRendererDrawObjects Method |
Draws geometric objects.
Namespace: DigitalRune.Graphics.RenderingAssembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.2.0.0 (1.2.1.14562)
Syntax public void DrawObjects(
IEnumerable<IGeometricObject> geometricObjects,
Nullable<Color> color,
bool drawWireFrame,
bool drawOverScene
)
Public Sub DrawObjects (
geometricObjects As IEnumerable(Of IGeometricObject),
color As Nullable(Of Color),
drawWireFrame As Boolean,
drawOverScene As Boolean
)
public:
void DrawObjects(
IEnumerable<IGeometricObject^>^ geometricObjects,
Nullable<Color> color,
bool drawWireFrame,
bool drawOverScene
)
member DrawObjects :
geometricObjects : IEnumerable<IGeometricObject> *
color : Nullable<Color> *
drawWireFrame : bool *
drawOverScene : bool -> unit
Parameters
- geometricObjects
- Type: System.Collections.GenericIEnumerableIGeometricObject
The geometric objects. - color
- Type: SystemNullableColor
The color. If this parameter is , each geometric object is drawn with
a unique color.
- drawWireFrame
- Type: SystemBoolean
If set to the wire-frame is drawn; otherwise the mesh is drawn with
solid faces.
- drawOverScene
- Type: SystemBoolean
If set to the object is drawn over the graphics scene (depth-test
disabled).
Exceptions Exception | Condition |
---|
NotSupportedException |
Drawing solid objects with disabled depth test is not yet supported.
|
See Also