AActor::DisplayDebug

Draw important Actor variables on canvas.

Windows
MacOS
Linux

Syntax

virtual void DisplayDebug
(
    class UCanvas * Canvas,
    const class FDebugDisplayInfo & DebugDisplay,
    float & YL,
    float & YPos
)

Remarks

Draw important Actor variables on canvas. HUD will call DisplayDebug() on the current ViewTarget when the ShowDebug exec is used

Parameters

Parameter

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.

References

Module

Engine

Header

Runtime/Engine/Classes/GameFramework/Actor.h

Source

Runtime/Engine/Private/Actor.cpp

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback