Navigation
Unreal Engine C++ API Reference > 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 | Set the line end position. |