Choose your operating system:
Windows
macOS
Linux
Module |
|
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 * FindSlotForTexture
(
uint32 InWidth,
uint32 InHeight
)
Finds the optimal slot for a texture in the atlas
Parameter |
Description |
---|---|
Width |
The width of the texture we are adding |
Height |
The height of the texture we are adding |