FCanvasTileItem

'Tile' item can override size and UV .

Windows
MacOS
Linux

Inheritance Hierarchy

FCanvasItem

FCanvasTileItem

References

Module

Engine

Header

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

Include

#include "CanvasItem.h"

Syntax

class FCanvasTileItem : public FCanvasItem

Remarks

'Tile' item can override size and UV .

Variables

Name Description

Public variable

const FMaterial...

 

MaterialRenderProxy

Material proxy for rendering.

Public variable

FVector2D

 

PivotPoint

Pivot point, as percentage of tile (0-1).

Public variable

FRotator

 

Rotation

Rotation.

Public variable

FVector2D

 

Size

Size of the tile.

Public variable

const FTexture ...

 

Texture

Texture to render.

Public variable

FVector2D

 

UV0

UV Coordinates 0 (Left/Top).

Public variable

FVector2D

 

UV1

UV Coordinates 0 (Right/Bottom).

Public variable

float

 

Z

Used to calculate depth.

Constructors

Name Description

Public function

FCanvasTileItem

(
    const FVector2D& InPosition,
    const FTexture* InTexture,
    const FLinearColor& InColor
)

Tile item using size from texture.

Public function

FCanvasTileItem

(
    const FVector2D& InPosition,
    const FVector2D& InSize,
    const FLinearColor& InColor
)

Tile item which uses the default white texture using given size.

Public function

FCanvasTileItem

(
    const FVector2D& InPosition,
    const FMaterialRenderProxy* In...,
    const FVector2D& InSize
)

Tile item with FMaterialRenderProxy using given size.

Public function

FCanvasTileItem

(
    const FVector2D& InPosition,
    const FTexture* InTexture,
    const FVector2D& InSize,
    const FLinearColor& InColor
)

Tile item with texture using given size.

Public function

FCanvasTileItem

(
    const FVector2D& InPosition,
    const FTexture* InTexture,
    const FVector2D& InUV0,
    const FVector2D& InUV1,
    const FLinearColor& InColor
)

Tile item with texture using size from texture specific UVs.

Public function

FCanvasTileItem

(
    const FVector2D& InPosition,
    const FMaterialRenderProxy* In...,
    const FVector2D& InSize,
    const FVector2D& InUV0,
    const FVector2D& InUV1
)

Tile item with FMaterialRenderProxy using given size and UVs.

Public function

FCanvasTileItem

(
    const FVector2D& InPosition,
    const FTexture* InTexture,
    const FVector2D& InSize,
    const FVector2D& InUV0,
    const FVector2D& InUV1,
    const FLinearColor& InColor
)

Tile item with texture using given size and specific UVs.

Overridden from FCanvasItem

Name Description

Public function Virtual

void

 

Draw

(
    FCanvas* InCanvas
)

Draw the item at the given coordinates.

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