Class PhysicsTraceDebugRenderer
Namespace: ValveResourceFormat.Renderer
Assembly: Renderer.dll
Debug visualization for physics traces: draws the player collision hull while player movement is active, and sweeps a small box from the camera to show where it lands.
csharp
public static class PhysicsTraceDebugRendererInheritance
object ← PhysicsTraceDebugRenderer
Methods
Draw(ToolRenderContext, PhysicsWorld, UserInput, Camera)
Draws the debug geometry for the current frame as blended lines the scene can hide.
csharp
public static void Draw(ToolRenderContext context, PhysicsWorld physics, UserInput input, Camera camera)Parameters
context ToolRenderContext
Tool render context the lines are added to.
physics PhysicsWorld
Physics world to trace against.
input UserInput
User input providing the player movement state.
camera Camera
Camera the debug trace is fired from.

