unreal.PaperSpriteAtlas¶
- class unreal.PaperSpriteAtlas(outer=None, name='None')¶
Bases:
unreal.ObjectGroups together a set of sprites that will try to share the same texture atlas (allowing them to be combined into a single draw call)
C++ Source:
Plugin: Paper2D
Module: Paper2D
File: PaperSpriteAtlas.h
Editor Properties: (see get_editor_property/set_editor_property)
atlas_description(str): [Read-Write] Atlas Description: Description of this atlas, which shows up in the content browser tooltipatlas_guid(Guid): [Read-Only] Atlas GUID: The GUID of the atlas group, used to match up sprites that belong to this group even thru atlas renamescompression_settings(TextureCompressionSettings): [Read-Write] Compression Settings: Compression settings to use on atlas texturefilter(TextureFilter): [Read-Write] Filter: Texture filtering mode when sampling these texturesgenerated_textures(Array(Texture)): [Read-Only] Generated Textures: List of generated atlas texturesmax_height(int32): [Read-Write] Max Height: Maximum atlas page height (single pages might be smaller)max_width(int32): [Read-Write] Max Width: Maximum atlas page width (single pages might be smaller)mip_count(int32): [Read-Write] Mip Count: Maximum atlas page height (single pages might be smaller)padding(int32): [Read-Write] Padding: The number of pixels of paddingpadding_type(PaperSpriteAtlasPadding): [Read-Write] Padding Type: The type of padding performed on this atlasrebuild_atlas(bool): [Read-Write] Rebuild Atlas: Slots in the atlas