Navigation
API > API/Runtime > API/Runtime/Engine
| Name | FCanvasItem |
| Type | class |
| Header File | /Engine/Source/Runtime/Engine/Public/CanvasItem.h |
| Include Path | #include "CanvasItem.h" |
Syntax
class FCanvasItem
Derived Classes
FCanvasItem derived class hierarchy
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FCanvasItem
(
const FVector2D& InPosition |
Basic render item. | CanvasItem.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~FCanvasItem() |
CanvasItem.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| BatchedElementParameters | FBatchedElementParameters * | Used for batch rendering. | CanvasItem.h | |
| bFreezeTime | bool | CanvasItem.h | ||
| BlendMode | ESimpleElementBlendMode | Blend mode. | CanvasItem.h | |
| Position | FVector2D | The position to draw the item. | CanvasItem.h | |
| StereoDepth | uint32 | Stereo projection depth in game units. Default value 0 draws at canvas property StereoDepth. | CanvasItem.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| CanvasItem.h | |||
| Draw this item (this will affect the items position for future draw calls that do no specify a position) | CanvasItem.h | ||
| Draw this item (this will affect the items position for future draw calls that do no specify a position) | CanvasItem.h | ||
virtual void SetColor
(
const FLinearColor& InColor |
Set the Color of the item. | CanvasItem.h |