Navigation
API > API/Runtime > API/Runtime/Engine
'Tile' item can override size and UV .
| Name | FCanvasTileItem |
| Type | class |
| Header File | /Engine/Source/Runtime/Engine/Public/CanvasItem.h |
| Include Path | #include "CanvasItem.h" |
Syntax
class FCanvasTileItem : public FCanvasItem
Inheritance Hierarchy
- FCanvasItem → FCanvasTileItem
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FCanvasTileItem
(
const FVector2D& InPosition, |
Tile item using size from texture. | CanvasItem.h | |
FCanvasTileItem
(
const FVector2D& InPosition, |
Tile item which uses the default white texture using given size. | CanvasItem.h | |
FCanvasTileItem
(
const FVector2D& InPosition, |
Tile item with FMaterialRenderProxy using given size. | CanvasItem.h | |
FCanvasTileItem
(
const FVector2D& InPosition, |
Tile item with texture using given size. | CanvasItem.h | |
FCanvasTileItem
(
const FVector2D& InPosition, |
Tile item with texture using size from texture specific UVs. | CanvasItem.h | |
FCanvasTileItem
(
const FVector2D& InPosition, |
Tile item with FMaterialRenderProxy using given size and UVs. | CanvasItem.h | |
FCanvasTileItem
(
const FVector2D& InPosition, |
Tile item with texture using given size and specific UVs. | CanvasItem.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| MaterialRenderProxy | const FMaterialRenderProxy * | Material proxy for rendering. | CanvasItem.h | |
| PivotPoint | FVector2D | Pivot point, as percentage of tile (0-1). | CanvasItem.h | |
| Rotation | FRotator | Rotation. | CanvasItem.h | |
| Size | FVector2D | Size of the tile. | CanvasItem.h | |
| Texture | const FTexture * | Texture to render. | CanvasItem.h | |
| UV0 | FVector2D | UV Coordinates 0 (Left/Top). | CanvasItem.h | |
| UV1 | FVector2D | UV Coordinates 0 (Right/Bottom). | CanvasItem.h | |
| Z | float | Used to calculate depth. | CanvasItem.h |
Functions
Public
Overridden from FCanvasItem
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Draw the item at the given coordinates. | CanvasItem.h | ||
| Expose the functions defined in the base class. | CanvasItem.h | ||
| Expose the functions defined in the base class. | CanvasItem.h |