Navigation
API > API/Editor > API/Editor/UnrealEd > API/Editor/UnrealEd/Commandlets > API/Editor/UnrealEd/Commandlets/FAnalyzeReferencedContentStat
Inheritance Hierarchy
- FAnalyzeReferencedContentStat::FAssetStatsBase
- FAnalyzeReferencedContentStat::FPrimitiveStats
References
| Module | UnrealEd |
| Header | /Engine/Source/Editor/UnrealEd/Public/Commandlets/AnalyzeReferencedContentStat.h |
| Include | #include "Commandlets/AnalyzeReferencedContentStat.h" |
Syntax
struct FPrimitiveStats : public FAnalyzeReferencedContentStat::FAssetStatsBase
Remarks
Encapsulates gathered stats for a particular UModelComponent, UTerrainComponent object.
Variables
| Type | Name | Description | |
|---|---|---|---|
| int32 | NumInstances | Number of static mesh instances overall. | |
| int32 | NumSections | Section count of mesh. | |
| int32 | NumTriangles | Triangle count of mesh. | |
| FString | ResourceName | Resource name. | |
| int32 | ResourceSize | Resource size of static mesh. | |
| FString | ResourceType | Resource type. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FPrimitiveStats
(
UModel* Model |
Constructor, initializing all members. | ||
FPrimitiveStats
(
USkeletalMesh* SkeletalMesh, |
|||
FPrimitiveStats
(
UStaticMesh* SkeletalMesh, |
Functions
| Type | Name | Description | |
|---|---|---|---|
| FString | Returns a header row for CSV | ||
| FString | This is for summary | ||
| bool | |||
| FString | ToCSV () |
Stringifies gathered stats in CSV format. | |
| FString | This takes a LevelName and then looks for the number of Instances of this StatMesh used within that level | ||
| FString | ToSummaryCSV
(
const FString& LevelName, |
This is for summary |