Navigation
API > API/Editor > API/Editor/UnrealEd > API/Editor/UnrealEd/Commandlets > API/Editor/UnrealEd/Commandlets/FAnalyzeReferencedContentStat
Inheritance Hierarchy
- FAnalyzeReferencedContentStat::FAssetStatsBase
- FAnalyzeReferencedContentStat::FLightingOptimizationStats
References
| Module | UnrealEd |
| Header | /Engine/Source/Editor/UnrealEd/Public/Commandlets/AnalyzeReferencedContentStat.h |
| Include | #include "Commandlets/AnalyzeReferencedContentStat.h" |
Syntax
struct FLightingOptimizationStats : public FAnalyzeReferencedContentStat::FAssetStatsBase
Variables
| Type | Name | Description | |
|---|---|---|---|
| FString | ActorName | Name of the StaticMeshActor this optimization is for | |
| int32[NumLightmapTextureSizes+1] | BytesSaved | Amount of memory savings for each lighting scheme (256,128,64,32 pixel lightmaps + vertex lighting) | |
| int32 | CurrentBytesUsed | Amount of memory used by the current lighting scheme | |
| ELightMapInteractionType | IsType | Current type of lighting scheme used | |
| FString | LevelName | Name of the Level this StaticMeshActor is on | |
| FString | SMName | Name of the StaticMesh belonging to the above StaticMeshActor | |
| int32 | TextureSize | Texture size of the current lighting scheme, if texture, 0 otherwise |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FLightingOptimizationStats
(
AStaticMeshActor* StaticMeshActor |
Constructor, initializing all members |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | CalculateLightingOptimizationInfo
(
ELightMapInteractionType LMType, |
For a given list of parameters, compute a full spread of potential savings values using vertex light, or 256, 128, 64, 32 pixel square light maps | |
| int32 | CalculateLightmapLightingBytesUsed
(
int32 Width, |
Assuming DXT1 lightmaps... | |
| FString | Returns a header row for CSV | ||
| bool | |||
| FString | ToCSV () |
Stringifies gathered stats in CSV format. |
Constants
| Name | Description |
|---|---|
| LightMapSizes | |
| NumLightmapTextureSizes |