UCanvas::WrappedPrint

Compute size and optionally print text with word wrap.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Engine/Canvas.h

Include

#include "Engine/Canvas.h"

Source

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

Syntax

int32 WrappedPrint
(
    bool Draw,
    float X,
    float Y,
    int32 & out_XL,
    int32 & out_YL,
    const UFont * Font,
    float ScaleX,
    float ScaleY,
    bool bCenterTextX,
    bool bCenterTextY,
    const TCHAR * Text,
    const FFontRenderInfo & RenderInfo
)

Remarks

Compute size and optionally print text with word wrap.

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