Navigation
API > API/Editor > API/Editor/UnrealEd > API/Editor/UnrealEd/FAnalyzeReferencedContentStat
| Name | FLightingOptimizationStats |
| Type | struct |
| Header File | /Engine/Source/Editor/UnrealEd/Public/Commandlets/AnalyzeReferencedContentStat.h |
| Include Path | #include "Commandlets/AnalyzeReferencedContentStat.h" |
Syntax
struct FLightingOptimizationStats : public FAnalyzeReferencedContentStat::FAssetStatsBase
Inheritance Hierarchy
- FAnalyzeReferencedContentStat::FAssetStatsBase → FAnalyzeReferencedContentStat::FLightingOptimizationStats
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FLightingOptimizationStats
(
AStaticMeshActor* StaticMeshActor |
Constructor, initializing all members | Commandlets/AnalyzeReferencedContentStat.h |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| LightMapSizes | const int32 | Commandlets/AnalyzeReferencedContentStat.h | |
| NumLightmapTextureSizes | const int32 | Commandlets/AnalyzeReferencedContentStat.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| ActorName | FString | Name of the StaticMeshActor this optimization is for | Commandlets/AnalyzeReferencedContentStat.h | |
| BytesSaved | int32 | Amount of memory savings for each lighting scheme (256,128,64,32 pixel lightmaps + vertex lighting) | Commandlets/AnalyzeReferencedContentStat.h | |
| CurrentBytesUsed | int32 | Amount of memory used by the current lighting scheme | Commandlets/AnalyzeReferencedContentStat.h | |
| IsType | ELightMapInteractionType | Current type of lighting scheme used | Commandlets/AnalyzeReferencedContentStat.h | |
| LevelName | FString | Name of the Level this StaticMeshActor is on | Commandlets/AnalyzeReferencedContentStat.h | |
| SMName | FString | Name of the StaticMesh belonging to the above StaticMeshActor | Commandlets/AnalyzeReferencedContentStat.h | |
| TextureSize | int32 | Texture size of the current lighting scheme, if texture, 0 otherwise | 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 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 | Commandlets/AnalyzeReferencedContentStat.h | |
static int32 CalculateLightmapLightingBytesUsed
(
int32 Width, |
Assuming DXT1 lightmaps... | Commandlets/AnalyzeReferencedContentStat.h | |
static FString GetCSVHeaderRow() |
Returns a header row for CSV | Commandlets/AnalyzeReferencedContentStat.h |