UCharacterMovementComponent::DisplayDebug

Draw important variables on canvas.

Windows
MacOS
Linux

References

Module

Engine

Header

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

Include

#include "GameFramework/CharacterMovementComponent.h"

Source

/Engine/Source/Runtime/Engine/Private/Components/CharacterMovementComponent.cpp

Syntax

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

Remarks

Draw important variables on canvas. Character 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.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss