UPlayerInput::DisplayDebug

Draw important PlayerInput variables on canvas.

Choose your operating system:

Windows

macOS

Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/GameFramework/PlayerInput.h

Include

#include "GameFramework/PlayerInput.h"

Source

/Engine/Source/Runtime/Engine/Private/UserInterface/PlayerInput.cpp

Syntax

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

Remarks

Draw important PlayerInput 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

Height of the current font

YPos

Y position on Canvas. YPos += YL, gives position to draw text for next debug line.