Module |
|
Header |
/Engine/Source/Runtime/Core/Public/Misc/ObjectThumbnail.h |
Include |
#include "Misc/ObjectThumbnail.h" |
class FObjectThumbnail
Thumbnail image data for an object.
Name | Description | |
---|---|---|
|
FObjectThumbnail() |
Default constructor. |
Name | Description | ||
---|---|---|---|
|
AccessCompressedImageData() |
Access the compressed image data. |
|
|
const TArray... |
AccessImageData() |
Access the image data in place (does not decompress) const version. |
|
AccessImageData() |
Access the image data in place (does not decompress). |
|
|
CompressImageData() |
Compress image data. |
|
|
CountBytes ( |
Calculates the memory usage of this FObjectThumbnail. |
|
|
CountImageBytes_Compressed ( |
Calculates the amount of memory used by the compressed bytes array. |
|
|
CountImageBytes_Uncompressed ( |
Calculates the amount of memory used by the uncompressed bytes array. |
|
|
DecompressImageData() |
Decompress image data. |
|
|
GetCompressedDataSize() |
||
|
GetImageHeight() |
Returns the height of the thumbnail. |
|
|
GetImageWidth() |
Returns the width of the thumbnail. |
|
|
const TArray... |
GetUncompressedImageData() |
Returns uncompressed image data, decompressing it on demand if needed. |
|
IsCreatedAfterCustomThumbsEnabled() |
Returns true if the thumbnail was saved AFTER custom-thumbnails for shared thumbnail asset types was supported. |
|
|
IsDirty() |
Returns true if the thumbnail is dirty and needs to be regenerated at some point. |
|
|
IsEmpty() |
Returns true if this is an empty thumbnail. |
|
|
IsLoadedFromDisk() |
Returns true if the thumbnail was loaded from disk and not dynamically generated. |
|
|
MarkAsDirty() |
Marks the thumbnail as dirty. |
|
|
Serialize ( |
Serializers |
|
|
Serialize ( |
Serializers |
|
|
SetCreatedAfterCustomThumbsEnabled() |
For newly generated custom thumbnails, mark it as valid in the future. |
|
|
SetImageSize |
Sets the image dimensions. |
|
|
SetThumbnailCompressor |
Static: Sets the thumbnail compressor to use when loading/saving packages. |
Name | Description | ||
---|---|---|---|
|
operator!= ( |
||
|
operator== ( |
Comparison operator |
Name |
Description |
---|---|
ThumbnailCompressor |
Static: Thumbnail compressor. Static: Thumbnail compressor |