| 417 | #include "Engine/Debug/DebugDraw.h" |
| 418 | |
| 419 | void TextRender::OnDebugDrawSelected() |
| 420 | { |
| 421 | // Draw text bounds and layout bounds |
| 422 | DEBUG_DRAW_WIRE_BOX(_box, Color::Orange, 0, true); |
| 423 | OrientedBoundingBox layoutBox(Vector3(-_layoutOptions.Bounds.GetUpperLeft(), 0), Vector3(-_layoutOptions.Bounds.GetBottomRight(), 0)); |
| 424 | layoutBox.Transform(_transform); |
| 425 | DEBUG_DRAW_WIRE_BOX(layoutBox, Color::BlueViolet, 0, true); |
| 426 | |
| 427 | // Base |
| 428 | Actor::OnDebugDrawSelected(); |
| 429 | } |
| 430 | |
| 431 | #endif |
| 432 |
nothing calls this directly
no test coverage detected