Navigation
API > API/Runtime > API/Runtime/Engine
| Name | FCanvasTriangleItem |
| Type | class |
| Header File | /Engine/Source/Runtime/Engine/Public/CanvasItem.h |
| Include Path | #include "CanvasItem.h" |
Syntax
class FCanvasTriangleItem : public FCanvasItem
Inheritance Hierarchy
- FCanvasItem → FCanvasTriangleItem
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FCanvasTriangleItem
(
FCanvasUVTri InSingleTri, |
Triangle item | CanvasItem.h | |
FCanvasTriangleItem
(
const TArray< FCanvasUVTri >& InTriangleList, |
Triangle item | CanvasItem.h | |
FCanvasTriangleItem
(
const FVector2D& InPointA, |
Triangle item (no texture) | CanvasItem.h | |
FCanvasTriangleItem
(
const FVector2D& InPointA, |
Triangle item | CanvasItem.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~FCanvasTriangleItem() |
CanvasItem.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| BatchedElementParameters | FBatchedElementParameters * | CanvasItem.h | ||
| MaterialRenderProxy | const FMaterialRenderProxy * | Material proxy for rendering. | CanvasItem.h | |
| Texture | const FTexture * | Texture to use for triangle(s). | CanvasItem.h | |
| TriangleList | TArray< FCanvasUVTri > | List of triangles. | CanvasItem.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void SetPoints
(
const FVector2D& InPointA, |
Set all 3 points of triangle | CanvasItem.h |
Overridden from FCanvasItem
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| CanvasItem.h | |||
| Expose the functions defined in the base class. | CanvasItem.h | ||
| Expose the functions defined in the base class. | CanvasItem.h | ||
virtual void SetColor
(
const FLinearColor& InColor |
Set the Color of the item. | CanvasItem.h |