Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/GameFramework > API/Runtime/Engine/GameFramework/AActor
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/GameFramework/Actor.h |
| Include | #include "GameFramework/Actor.h" |
| Source | /Engine/Source/Runtime/Engine/Private/Actor.cpp |
virtual void DisplayDebug
&40;
class UCanvas &42; Canvas,
const class FDebugDisplayInfo & DebugDisplay,
float & YL,
float & YPos
&41;
Remarks
Draw important Actor variables on canvas. HUD will call DisplayDebug() on the current ViewTarget when the ShowDebug exec is used
Parameters
| Name | Description |
|---|---|
| Canvas | Canvas to draw on |
| DebugDisplay | Contains information about what debug data to display |
| YL | [in] Height of the previously drawn line. [out] Height of the last line drawn by this function. |
| YPos | [in] Y position on Canvas for the previously drawn line. YPos += YL, gives position to draw text for next debug line. [out] Y position on Canvas for the last line drawn by this function. |