Navigation
Unreal Engine C++ API Reference > Plugins > Paper2D
Inheritance Hierarchy
- UObject
- UPaperSpriteAtlas
References
Module | Paper2D |
Header | /Engine/Plugins/2D/Paper2D/Source/Paper2D/Classes/PaperSpriteAtlas.h |
Include | #include "PaperSpriteAtlas.h" |
Syntax
UCLASS (MinimalAPI, BlueprintType, Experimental, Meta=(DisplayThumbnail="true"))
class UPaperSpriteAtlas : public UObject
Remarks
Groups together a set of sprites that will try to share the same texture atlas (allowing them to be combined into a single draw call)
Variables
Type | Name | Description | |
---|---|---|---|
![]() ![]() ![]() |
FString | AtlasDescription | Description of this atlas, which shows up in the content browser tooltip. |
![]() ![]() ![]() ![]() |
FGuid | AtlasGUID | The GUID of the atlas group, used to match up sprites that belong to this group even thru atlas renames. |
![]() ![]() |
TArray< FPaperSpriteAtlasSlot > | AtlasSlots | Slots in the atlas. |
![]() ![]() ![]() |
bool | bRebuildAtlas | Slots in the atlas. |
![]() ![]() |
int32 | BuiltHeight | |
![]() ![]() |
int32 | BuiltPadding | |
![]() ![]() |
int32 | BuiltWidth | Values used when building this atlas. |
![]() ![]() ![]() |
TEnumAsByte< TextureCompressionSettings > | CompressionSettings | Compression settings to use on atlas texture. |
![]() ![]() ![]() |
TEnumAsByte< TextureFilter > | Filter | Texture filtering mode when sampling these textures. |
![]() ![]() ![]() ![]() |
TArray< TObjectPtr< UTexture > > | GeneratedTextures | List of generated atlas textures. |
![]() ![]() ![]() |
int32 | MaxHeight | Maximum atlas page height (single pages might be smaller) |
![]() ![]() ![]() |
int32 | MaxWidth | Maximum atlas page width (single pages might be smaller) |
![]() ![]() ![]() |
int32 | MipCount | Maximum atlas page height (single pages might be smaller) |
![]() ![]() |
int32 | NumIncrementalBuilds | Track the number of incremental builds. |
![]() ![]() ![]() |
int32 | Padding | The number of pixels of padding. |
![]() ![]() ![]() |
EPaperSpriteAtlasPadding | PaddingType | The type of padding performed on this atlas. |
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
UPaperSpriteAtlas
(
const FObjectInitializer& ObjectInitializer |
Functions
Type | Name | Description | |
---|---|---|---|
![]() ![]() ![]() |
void | GetAssetRegistryTags
(
FAssetRegistryTagsContext Context |
|
![]() ![]() ![]() |
void | GetAssetRegistryTags
(
TArray< FAssetRegistryTag >& OutTags |
|
![]() ![]() |
void | PostDuplicate
(
bool bDuplicateForPIE |
|
![]() ![]() |
void |