Navigation
API > API/Runtime > API/Runtime/Engine
The data representing a region of a UTexture atlas.
| Name | FSlateAtlasData |
| Type | struct |
| Header File | /Engine/Source/Runtime/Engine/Public/Slate/SlateTextureAtlasInterface.h |
| Include Path | #include "Slate/SlateTextureAtlasInterface.h" |
Syntax
struct FSlateAtlasData
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FSlateAtlasData
(
UTexture* InAtlasTexture, |
Slate/SlateTextureAtlasInterface.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| AtlasTexture | UTexture * | The texture pointer for the Atlas | Slate/SlateTextureAtlasInterface.h | |
| SizeUV | FVector2D | The region size in UVs. | Slate/SlateTextureAtlasInterface.h | |
| StartUV | FVector2D | The region start position in UVs | Slate/SlateTextureAtlasInterface.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FVector2D GetSourceDimensions() |
Gets the dimensions of the atlas region in pixel coordinates. | Slate/SlateTextureAtlasInterface.h |