UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FScreenMessageWriter Struct Reference

#include <CanvasTypes.h>

Public Member Functions

 FScreenMessageWriter (FCanvas &InCanvas, int32 InY)
 
void EmptyLine ()
 
ENGINE_API void DrawLine (const FText &Message, int32 X=10, const FLinearColor &Color=FLinearColor(1.0f, 0.05f, 0.05f, 1.0f))
 

Public Attributes

FCanvasCanvas
 
int32 Y
 

Detailed Description

Helper class to write a line of texts on screen

Constructor & Destructor Documentation

◆ FScreenMessageWriter()

FScreenMessageWriter::FScreenMessageWriter ( FCanvas InCanvas,
int32  InY 
)
inline

Member Function Documentation

◆ DrawLine()

void FScreenMessageWriter::DrawLine ( const FText Message,
int32  X = 10,
const FLinearColor Color = FLinearColor(1.0f, 0.05f, 0.05f, 1.0f) 
)

◆ EmptyLine()

void FScreenMessageWriter::EmptyLine ( )
inline

Member Data Documentation

◆ Canvas

FCanvas& FScreenMessageWriter::Canvas

◆ Y

int32 FScreenMessageWriter::Y

The documentation for this struct was generated from the following files: