FSlateFontCache::GetAtlasSlotInfoAtPosition

Finds a currently occupied slot at a position specified in atlas coordinates where 0,0 is the top left and the size of the atlas is bottom right

Choose your operating system:

Windows

macOS

Linux

Override Hierarchy

ISlateAtlasProvider::GetAtlasSlotInfoAtPosition()

FSlateFontCache::GetAtlasSlotInfoAtPosition()

References

Module

SlateCore

Header

/Engine/Source/Runtime/SlateCore/Public/Fonts/FontCache.h

Include

#include "Fonts/FontCache.h"

Syntax

virtual FAtlasSlotInfo GetAtlasSlotInfoAtPosition
(
    FIntPoint InPosition,
    int32 AtlasIndex
) const

Remarks

Finds a currently occupied slot at a position specified in atlas coordinates where 0,0 is the top left and the size of the atlas is bottom right