UCanvas::K2_DrawTriangle

Draws a set of triangles on the Canvas.

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

void K2_DrawTriangle
(
    UTexture * RenderTexture,
    TArray< FCanvasUVTri > Triangles
)

Remarks

Draws a set of triangles on the Canvas.

Parameters

Parameter

Description

RenderTexture

Texture to use when rendering the triangles. If no texture is set, then the default white texture is used.

Triangles

Triangles to render.

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