Navigation
API > API/Editor > API/Editor/UnrealEd > API/Editor/UnrealEd/FAnalyzeReferencedContentStat
Encapsulates gathered stats for a particular UStaticMesh object.
| Name | FStaticMeshStats |
| Type | struct |
| Header File | /Engine/Source/Editor/UnrealEd/Public/Commandlets/AnalyzeReferencedContentStat.h |
| Include Path | #include "Commandlets/AnalyzeReferencedContentStat.h" |
Syntax
struct FStaticMeshStats : public FAnalyzeReferencedContentStat::FAssetStatsBase
Inheritance Hierarchy
- FAnalyzeReferencedContentStat::FAssetStatsBase → FAnalyzeReferencedContentStat::FStaticMeshStats
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FStaticMeshStats
(
UStaticMesh* StaticMesh |
Constructor, initializing all members. | Commandlets/AnalyzeReferencedContentStat.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bIsMeshNonUniformlyScaled | bool | Is this mesh scaled non-uniformly in a level | Commandlets/AnalyzeReferencedContentStat.h | |
| bIsReferencedByParticles | bool | Whether resource is referenced by particle system | Commandlets/AnalyzeReferencedContentStat.h | |
| bIsReferencedByScript | bool | Whether resource is referenced by script. | Commandlets/AnalyzeReferencedContentStat.h | |
| bShouldConvertBoxColl | bool | Does this mesh have box collision that should be converted | Commandlets/AnalyzeReferencedContentStat.h | |
| bUsesSimpleRigidBodyCollision | int32 | Does this static mesh use simple collision | Commandlets/AnalyzeReferencedContentStat.h | |
| NumConvexPrimitives | int32 | Number of convex hulls in the collision geometry of mesh. | Commandlets/AnalyzeReferencedContentStat.h | |
| NumElementsWithCollision | int32 | Number of sections that have collision enabled | Commandlets/AnalyzeReferencedContentStat.h | |
| NumInstances | int32 | Number of static mesh instances overall. | Commandlets/AnalyzeReferencedContentStat.h | |
| NumSections | int32 | Section count of mesh. | Commandlets/AnalyzeReferencedContentStat.h | |
| NumTriangles | int32 | Triangle count of mesh. | Commandlets/AnalyzeReferencedContentStat.h | |
| ResourceName | FString | Resource name. | Commandlets/AnalyzeReferencedContentStat.h | |
| ResourceSize | int32 | Resource size of static mesh. | Commandlets/AnalyzeReferencedContentStat.h | |
| ResourceType | FString | Resource type. | Commandlets/AnalyzeReferencedContentStat.h | |
| UsedAtScales | TArray< FVector > | Array of different scales that this mesh is used at | Commandlets/AnalyzeReferencedContentStat.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool ShouldLogStat() |
Commandlets/AnalyzeReferencedContentStat.h | ||
| Stringifies gathered stats in CSV format. | Commandlets/AnalyzeReferencedContentStat.h | ||
| This takes a LevelName and then looks for the number of Instances of this StatMesh used within that level | Commandlets/AnalyzeReferencedContentStat.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static FString GetCSVHeaderRow() |
Returns a header row for CSV | Commandlets/AnalyzeReferencedContentStat.h | |
static FString GetSummaryCSVHeaderRow() |
This is for summary | Commandlets/AnalyzeReferencedContentStat.h | |
static FString ToSummaryCSV
(
const FString& LevelName, |
This is for summary | Commandlets/AnalyzeReferencedContentStat.h |