NullDebugRendererΒΆ
Warning
This documentation is for an implementation of a service. This class is not meant to be used directly; instead use the IDebugRenderer service via dependency injection to access this functionality.
Information documented here may not be up to date.
-
class
NullDebugRenderer
: System.Object, IDebugRenderer An implementation of the debug rendering which is used in headless servers.
-
public void
RenderDebugLine
(IRenderContext renderContext, Vector3 point1, Vector3 point2, Color color1, Color color2) Parameters: - renderContext (Protogame.IRenderContext) –
- point1 (Microsoft.Xna.Framework.Vector3) –
- point2 (Microsoft.Xna.Framework.Vector3) –
- color1 (Microsoft.Xna.Framework.Color) –
- color2 (Microsoft.Xna.Framework.Color) –
-
public void
RenderDebugTriangle
(IRenderContext renderContext, Vector3 point1, Vector3 point2, Vector3 point3, Color color1, Color color2, Color color3) Parameters: - renderContext (Protogame.IRenderContext) –
- point1 (Microsoft.Xna.Framework.Vector3) –
- point2 (Microsoft.Xna.Framework.Vector3) –
- point3 (Microsoft.Xna.Framework.Vector3) –
- color1 (Microsoft.Xna.Framework.Color) –
- color2 (Microsoft.Xna.Framework.Color) –
- color3 (Microsoft.Xna.Framework.Color) –
-
public void