FCanvasItem

Inheritance Hierarchy

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Public/CanvasItem.h

Include

#include "CanvasItem.h"

Syntax

class FCanvasItem

Variables

Name Description

Public variable

FBatchedElement...

 

BatchedElementParameters

Used for batch rendering.

Public variable

bool

 

bFreezeTime

Public variable

ESimpleElementB...

 

BlendMode

Blend mode.

Protected variable

FLinearColor

 

Color

Color of the item.

Public variable

FVector2D

 

Position

The position to draw the item.

Public variable

uint32

 

StereoDepth

Stereo projection depth in game units. Default value 0 draws at canvas property StereoDepth.

Constructors

Name Description

Public function

FCanvasItem

(
    const FVector2D& InPosition
)

Basic render item.

Destructors

Name Description

Public function Virtual

~FCanvasItem()

Functions

Name Description

Public function

void

 

Draw

(
    FCanvas* InCanvas
)

Public function Virtual

void

 

Draw

(
    FCanvas* InCanvas,
    const FVector2D& InPosition
)

Draw this item (this will affect the items position for future draw calls that do no specify a position)

Public function Virtual

void

 

Draw

(
    FCanvas* InCanvas,
    float X,
    float Y
)

Draw this item (this will affect the items position for future draw calls that do no specify a position)

Public function Virtual

void

 

SetColor

(
    const FLinearColor& InColor
)

Set the Color of the item.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Cancel