UCanvas::K2_DrawMaterialTriangle

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_DrawMaterialTriangle
(
    UMaterialInterface * RenderMaterial,
    TArray< FCanvasUVTri > Triangles
)

Remarks

Draws a set of triangles on the Canvas.

Parameters

Parameter

Description

RenderMaterial

Material to use when rendering. Remember that only the emissive channel is able to be rendered as no lighting is performed when rendering to the Canvas.

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