Navigation
API > API/Editor > API/Editor/UnrealEd > API/Editor/UnrealEd/Commandlets > API/Editor/UnrealEd/Commandlets/FAnalyzeReferencedContentStat > API/Editor/UnrealEd/Commandlets/FAnalyzeReferencedContentStat/FLightingOptimiz-
References
| Module | UnrealEd |
| Header | /Engine/Source/Editor/UnrealEd/Public/Commandlets/AnalyzeReferencedContentStat.h |
| Include | #include "Commandlets/AnalyzeReferencedContentStat.h" |
static void CalculateLightingOptimizationInfo
&40;
ELightMapInteractionType LMType,
int32 NumVertices,
int32 Width,
int32 Height,
int32 TexCoordIndex,
FLightingOptimizationStats & LOStats
&41;
Remarks
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
Parameters
| Name | Description |
|---|---|
| LMType | Current type of lighting being used |
| NumVertices | Number of vertices in the given mesh |
| Width | Width of current lightmap |
| Height | Height of current lightmap |
| TexCoordIndex | channel index of the uvs currently used for lightmaps |
| LOI | A struct to be filled in by the function with the potential savings |