Navigation
API > API/Runtime > API/Runtime/SlateCore > API/Runtime/SlateCore/Textures > API/Runtime/SlateCore/Textures/FSlateTextureAtlas
References
| Module | SlateCore |
| Header | /Engine/Source/Runtime/SlateCore/Public/Textures/TextureAtlas.h |
| Include | #include "Textures/TextureAtlas.h" |
| Source | /Engine/Source/Runtime/SlateCore/Private/Textures/TextureAtlas.cpp |
const FAtlasedTextureSlot &42; FindSlotForTexture
&40;
uint32 InWidth,
uint32 InHeight
&41;
Remarks
Finds the optimal slot for a texture in the atlas
Parameters
| Name | Description |
|---|---|
| Width | The width of the texture we are adding |
| Height | The height of the texture we are adding |