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