Navigation
API > API/Runtime > API/Runtime/Engine
Inheritance Hierarchy
- FCanvasItem
- FCanvasLineItem
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Public/CanvasItem.h |
| Include | #include "CanvasItem.h" |
Syntax
class FCanvasLineItem : public FCanvasItem
Remarks
Line item. Note blend mode will be disregarded for these - only SE_BLEND_Opaque is currently supported.
Variables
| Type | Name | Description | |
|---|---|---|---|
| FVector | EndPos | The end position of the line. | |
| float | LineThickness | The thickness of the line. | |
| FVector | Origin | The origin of the line. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FCanvasLineItem
(
const FVector2D& InPosition, |
A Line. | ||
FCanvasLineItem
(
const FVector& InPosition, |
A Line. |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | Draw line at the given coordinates. | ||
| void | Draw line using the given coordinates. | ||
| void | Draw line at the given coordinates. | ||
| void | SetEndPos
(
const FVector2D& InEndPos |
Set the line end position. |