ISlateAtlasProvider

Interface to allow the Slate atlas visualizer to query atlas page information for an atlas provider

Windows
MacOS
Linux

Inheritance Hierarchy

ISlateAtlasProvider

FSlateFontCache

References

Module

SlateCore

Header

/Engine/Source/Runtime/SlateCore/Public/Textures/TextureAtlas.h

Include

#include "Textures/TextureAtlas.h"

Syntax

class ISlateAtlasProvider

Remarks

Interface to allow the Slate atlas visualizer to query atlas page information for an atlas provider

Destructors

Name Description

Public function Virtual

~ISlateAtlasProvider()

Virtual destructor

Functions

Name Description

Public function Const

FSlateShader...

 

GetAtlasPageResource

(
    const int32 InIndex
)

Get the page resource for the given index (verify with GetNumAtlasPages)

Public function Const

FAtlasSlotIn...

 

GetAtlasSlotInfoAtPosition

(
    FIntPoint InPosition,
    int32 AtlasIndex
)

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

Public function Const

int32

 

GetNumAtlasPages()

Get the number of atlas pages this atlas provider has available when calling GetAtlasPageResource

Public function Const

bool

 

IsAtlasPageResourceAlphaOnly

(
    const int32 InIndex
)

Does the page resources for the given index only contain alpha information? This affects how the atlas visualizer will sample them (verify with GetNumAtlasPages)

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss