Navigation
Unreal Engine C++ API Reference > Runtime > Engine
Inheritance Hierarchy
- FCanvasItem
- FCanvasBorderItem
- FCanvasBoxItem
- FCanvasLineItem
- FCanvasNGonItem
- FCanvasTextItemBase
- FCanvasShapedTextItem
- FCanvasSimpleTextItem
- FCanvasTextItem
- FCanvasTextStringViewItem
- FCanvasTileItem
- FCanvasTriangleItem
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Public/CanvasItem.h |
Include | #include "CanvasItem.h" |
Syntax
class FCanvasItem
Variables
Type | Name | Description | |
---|---|---|---|
![]() |
FBatchedElementParameters * | BatchedElementParameters | Used for batch rendering. |
![]() |
bool | bFreezeTime | |
![]() |
ESimpleElementBlendMode | BlendMode | Blend mode. |
![]() |
FLinearColor | Color | Color of the item. |
![]() |
FVector2D | Position | The position to draw the item. |
![]() |
uint32 | StereoDepth | Stereo projection depth in game units. Default value 0 draws at canvas property StereoDepth. |
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
FCanvasItem
(
const FVector2D& InPosition |
Basic render item. |
Destructors
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
~FCanvasItem () |
Functions
Type | Name | Description | |
---|---|---|---|
![]() |
void | ||
![]() ![]() |
void | Draw this item (this will affect the items position for future draw calls that do no specify a position) | |
![]() ![]() |
void | Draw this item (this will affect the items position for future draw calls that do no specify a position) | |
![]() ![]() |
void | SetColor
(
const FLinearColor& InColor |
Set the Color of the item. |