Navigation
API > API/Editor > API/Editor/StatsViewer
Statistics for a cooked asset.
Note: We assume that asset files are not larger than 2GB, because the StatsViewer is still lacking int64 support.
| Name | UCookerStats |
| Type | class |
| Header File | /Engine/Source/Editor/StatsViewer/Classes/CookerStats.h |
| Include Path | #include "CookerStats.h" |
Syntax
UCLASS (Transient, MinimalAPI,
Meta=(DisplayName="Cooker Stats", ObjectSetType="ECookerStatsObjectSets"))
class UCookerStats : public UObject
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UCookerStats
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UCookerStats
(
const FObjectInitializer& ObjectInitializer |
CookerStats.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Assets | TArray< TWeakObjectPtr< UObject > > | The assets contained in the file. | CookerStats.h |
|
| Path | FString | Asset path without the name "package.[group.]" | CookerStats.h | |
| SizeAfter | float | The size of the assets after cooking. | CookerStats.h |
|
| SizeBefore | float | The size of the assets before cooking. | CookerStats.h |
|