Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/FCanvasTriangleRendererItem
Description
Add a new triangle to the render data. These triangles all use the same transform and material proxy
| Name | AddTriangle |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Public/CanvasRendererItem.h |
| Include Path | #include "CanvasRendererItem.h" |
int32 AddTriangle
(
const FCanvasUVTri & Tri,
FHitProxyId HitProxyId
)
Parameters
| Name | Remarks |
|---|---|
| return | number of triangles added |