FAnalyzeReferencedContentStat::FLightingOptimizationStats::CalculateLightingOptimizationInfo

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

Windows
MacOS
Linux

References

Module

UnrealEd

Header

/Engine/Source/Editor/UnrealEd/Public/Commandlets/AnalyzeReferencedContentStat.h

Include

#include "Commandlets/AnalyzeReferencedContentStat.h"

Syntax

static void CalculateLightingOptimizationInfo
(
    ELightMapInteractionType LMType,
    int32 NumVertices,
    int32 Width,
    int32 Height,
    int32 TexCoordIndex,
    FLightingOptimizationStats & LOStats
)

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

Parameter

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

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss