Navigation
API > API/Editor > API/Editor/UnrealEd > API/Editor/UnrealEd/FAnalyzeReferencedContentStat
Encapsulates gathered stats for a particular UParticleSystem object
| Name | FParticleStats |
| Type | struct |
| Header File | /Engine/Source/Editor/UnrealEd/Public/Commandlets/AnalyzeReferencedContentStat.h |
| Include Path | #include "Commandlets/AnalyzeReferencedContentStat.h" |
Syntax
struct FParticleStats : public FAnalyzeReferencedContentStat::FAssetStatsBase
Inheritance Hierarchy
- FAnalyzeReferencedContentStat::FAssetStatsBase → FAnalyzeReferencedContentStat::FParticleStats
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FParticleStats
(
UParticleSystem* ParticleSystem |
Constructor, initializing all members | Commandlets/AnalyzeReferencedContentStat.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bIsReferencedByScript | bool | Whether resource is referenced by script. | Commandlets/AnalyzeReferencedContentStat.h | |
| bMeshEmitterHasCastShadows | bool | If any modules have mesh emitters that have DoCollision == true wich is more than likely bad and perf costing | Commandlets/AnalyzeReferencedContentStat.h | |
| bMeshEmitterHasDoCollisions | bool | If any modules have mesh emitters that have DoCollision == true wich is more than likely bad and perf costing | Commandlets/AnalyzeReferencedContentStat.h | |
| MaxNumDrawnPerFrame | int32 | Maximum number of particles drawn per frame | Commandlets/AnalyzeReferencedContentStat.h | |
| NumBytesUsed | int32 | This is the size in bytes that this Particle System will use | Commandlets/AnalyzeReferencedContentStat.h | |
| NumEmitters | int32 | Number of emitters in this system. | Commandlets/AnalyzeReferencedContentStat.h | |
| NumEmittersUsingCollision | int32 | Combined number of collision modules across emitters | Commandlets/AnalyzeReferencedContentStat.h | |
| NumEmittersUsingPhysics | int32 | Combined number of emitters that have active physics | Commandlets/AnalyzeReferencedContentStat.h | |
| NumModules | int32 | Combined number of modules in all emitters used. | Commandlets/AnalyzeReferencedContentStat.h | |
| NumPeakActiveParticles | int32 | Combined number of peak particles in system. | Commandlets/AnalyzeReferencedContentStat.h | |
| PeakActiveToMaxDrawnRatio | float | Ratio of particles simulated to particles drawn | Commandlets/AnalyzeReferencedContentStat.h | |
| ResourceName | FString | Resource name. | Commandlets/AnalyzeReferencedContentStat.h | |
| ResourceType | FString | Resource type. | Commandlets/AnalyzeReferencedContentStat.h | |
| WarmUpTime | float | If the particle system has warm up time greater than N seconds | Commandlets/AnalyzeReferencedContentStat.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool ShouldLogStat() |
Commandlets/AnalyzeReferencedContentStat.h | ||
FString ToCSV() |
Stringifies gathered stats in CSV format. | 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 |