Navigation
API > API/Plugins > API/Plugins/SlateIMBlueprint > API/Plugins/SlateIMBlueprint/USlateIMBlueprintFunctionLibrary
Description
Queue drawing text to the canvas.
Alternate method allowing the use of FFontRenderInfo.
| Name | DrawTextRenderInfo |
| Type | function |
| Header File | /Engine/Plugins/Experimental/SlateIM/Source/SlateIMBlueprint/Public/SlateIMBlueprintFunctionLibrary.h |
| Include Path | #include "SlateIMBlueprintFunctionLibrary.h" |
UFUNCTION (BlueprintCallable, Category="SlateIM|Canvas")
static void DrawTextRenderInfo
(
UFont * RenderFont,
const FString & RenderText,
const FVector2f & CanvasPosition,
const FVector2f & Scale,
const FFontRenderInfo & RenderInfo
)
Parameters
| Name | Remarks |
|---|---|
| RenderFont | The font used to render the text. |
| RenderText | The string to render. |
| CanvasPosition | The position of the text on the canvas, in pixels. |
| Scale | The scale of the text on the canvas. |
| RenderInfo | Extra optional parameters for rendering the text. |