UModelComponent::GetSurfaceLightMapResolution

Calculate the lightmap resolution to be used by the given surface.

Choose your operating system:

Windows

macOS

Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Components/ModelComponent.h

Include

#include "Components/ModelComponent.h"

Source

/Engine/Source/Runtime/Engine/Private/ModelLight.cpp

Syntax

void GetSurfaceLightMapResolution
(
    int32 SurfaceIndex,
    int32 QualityScale,
    int32 & Width,
    int32 & Height,
    FMatrix & WorldToMap,
    TArray< int32 > * GatheredNodes
) const

Remarks

Calculate the lightmap resolution to be used by the given surface.