MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / OnDebugDraw

Method OnDebugDraw

Source/Engine/Physics/Colliders/BoxCollider.cpp:75–85  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

73}
74
75void BoxCollider::OnDebugDraw()
76{
77 if (GetIsTrigger())
78 {
79 const Color color = Color::GreenYellow;
80 DEBUG_DRAW_WIRE_BOX(_bounds, color, 0, true);
81 }
82
83 // Base
84 Collider::OnDebugDraw();
85}
86
87namespace
88{

Callers

nothing calls this directly

Calls 2

GetIsTriggerFunction · 0.85
OnDebugDrawFunction · 0.85

Tested by

no test coverage detected