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