FStaticMeshStats

Encapsulates gathered stats for a particular [UStaticMesh](API\Runtime\Engine\Engine\UStaticMesh) object.

Windows
MacOS
Linux

Inheritance Hierarchy

FAnalyzeReferencedContentStat::FAssetStatsBase

FAnalyzeReferencedContentStat::FStaticMeshStats

References

Module

UnrealEd

Header

/Engine/Source/Editor/UnrealEd/Public/Commandlets/AnalyzeReferencedContentStat.h

Include

#include "Commandlets/AnalyzeReferencedContentStat.h"

Syntax

struct FStaticMeshStats : public FAnalyzeReferencedContentStat::FAssetStatsBase

Remarks

Encapsulates gathered stats for a particular UStaticMesh object.

Variables

Name Description

Public variable

bool

 

bIsMeshNonUniformlyScaled

Is this mesh scaled non-uniformly in a level

Public variable

bool

 

bIsReferencedByParticles

Whether resource is referenced by particle system

Public variable

bool

 

bIsReferencedByScript

Whether resource is referenced by script.

Public variable

bool

 

bShouldConvertBoxColl

Does this mesh have box collision that should be converted

Public variable

int32

 

bUsesSimpleRigidBodyCollision

Does this static mesh use simple collision

Public variable

int32

 

NumConvexPrimitives

Number of convex hulls in the collision geometry of mesh.

Public variable

int32

 

NumElementsWithCollision

Number of sections that have collision enabled

Public variable

int32

 

NumInstances

Number of static mesh instances overall.

Public variable

int32

 

NumSections

Section count of mesh.

Public variable

int32

 

NumTriangles

Triangle count of mesh.

Public variable

FString

 

ResourceName

Resource name.

Public variable

int32

 

ResourceSize

Resource size of static mesh.

Public variable

FString

 

ResourceType

Resource type.

Public variable

TArray< FVector...

 

UsedAtScales

Array of different scales that this mesh is used at

Constructors

Name Description

Public function

FStaticMeshStats

(
    UStaticMesh* StaticMesh
)

Constructor, initializing all members.

Functions

Name Description

Public function Static

FString

 

GetCSVHeaderRow()

Returns a header row for CSV

Public function Static

FString

 

GetSummaryCSVHeaderRow()

This is for summary

Public function Const

bool

 

ShouldLogStat()

Public function Const

FString

 

ToCSV()

Stringifies gathered stats in CSV format.

Public function Const

FString

 

ToCSV

(
    const FString& LevelName
)

This takes a LevelName and then looks for the number of Instances of this StatMesh used within that level

Public function Static

FString

 

ToSummaryCSV

(
    const FString& LevelName,
    const TMap< FString, FStaticMeshSta...
)

This is for summary

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss