![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <TextureAtlas.h>
Inheritance diagram for FAtlasedTextureSlot:Public Member Functions | |
| FAtlasedTextureSlot (uint32 InX, uint32 InY, uint32 InWidth, uint32 InHeight, uint8 InPadding) | |
Public Member Functions inherited from TIntrusiveLinkedList< FAtlasedTextureSlot > | |
| TIntrusiveLinkedList () | |
Public Member Functions inherited from TLinkedListBase< ContainerType, ElementType, IteratorType > | |
| TLinkedListBase () | |
| void | Unlink () |
| void | LinkBefore (ContainerType *Before) |
| void | LinkAfter (ContainerType *After) |
| void | LinkReplace (ContainerType *Replace) |
| void | LinkHead (ContainerType *&Head) |
| UE_FORCEINLINE_HINT bool | IsLinked () |
| UE_FORCEINLINE_HINT ContainerType ** | GetPrevLink () const |
| UE_FORCEINLINE_HINT ContainerType * | GetNextLink () const |
| UE_FORCEINLINE_HINT ContainerType * | Next () |
Public Attributes | |
| uint32 | X |
| uint32 | Y |
| uint32 | Width |
| uint32 | Height |
| uint8 | Padding |
Additional Inherited Members | |
Public Types inherited from TLinkedListBase< ContainerType, ElementType, IteratorType > | |
| typedef IteratorType< ContainerType, ElementType > | TIterator |
| typedef IteratorType< ContainerType, const ElementType > | TConstIterator |
Structure holding information about where a texture is located in the atlas. Inherits a linked-list interface.
When a slot is occupied by texture data, the remaining space in the slot (if big enough) is split off into two new (smaller) slots, building a tree of texture rectangles which, instead of being stored as a tree, are flattened into two linked-lists:
|
inline |
| uint32 FAtlasedTextureSlot::Height |
The height of the character
| uint8 FAtlasedTextureSlot::Padding |
Uniform Padding. can only be zero or one. See ESlateTextureAtlasPaddingStyle.
| uint32 FAtlasedTextureSlot::Width |
The width of the character
| uint32 FAtlasedTextureSlot::X |
The X position of the character in the texture
| uint32 FAtlasedTextureSlot::Y |
The Y position of the character in the texture