FPrimitiveStats

Encapsulates gathered stats for a particular [UModelComponent](API\Runtime\Engine\Components\UModelComponent), UTerrainComponent object.

Windows
MacOS
Linux

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

Name Description

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.

Constructors

Name Description

Public function

FPrimitiveStats

(
    UModel* Model
)

Constructor, initializing all members.

Public function

FPrimitiveStats

(
    USkeletalMesh* SkeletalMesh,
    FAnalyzeReferencedContentStat::FSke...
)

Public function

FPrimitiveStats

(
    UStaticMesh* SkeletalMesh,
    FAnalyzeReferencedContentStat::FSta...
)

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, FPrimitiveStat...
)

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