UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FSlateAtlasData Struct Reference

#include <SlateTextureAtlasInterface.h>

Public Member Functions

 FSlateAtlasData (UTexture *InAtlasTexture, FVector2D InStartUV, FVector2D InSizeUV)
 
FVector2D GetSourceDimensions () const
 

Public Attributes

UTextureAtlasTexture
 
FVector2D StartUV
 
FVector2D SizeUV
 

Detailed Description

The data representing a region of a UTexture atlas.

Constructor & Destructor Documentation

◆ FSlateAtlasData()

FSlateAtlasData::FSlateAtlasData ( UTexture InAtlasTexture,
FVector2D  InStartUV,
FVector2D  InSizeUV 
)
inline

Member Function Documentation

◆ GetSourceDimensions()

FVector2D FSlateAtlasData::GetSourceDimensions ( ) const
inline

Gets the dimensions of the atlas region in pixel coordinates.

Member Data Documentation

◆ AtlasTexture

UTexture* FSlateAtlasData::AtlasTexture

The texture pointer for the Atlas

◆ SizeUV

FVector2D FSlateAtlasData::SizeUV

The region size in UVs.

◆ StartUV

FVector2D FSlateAtlasData::StartUV

The region start position in UVs


The documentation for this struct was generated from the following file: