FHierarchicalLODUtilities::GetLODLevelForScreenSize

Computes the LODLevel for a StaticMeshComponent taking into account the ScreenSize

Windows
MacOS
Linux

Override Hierarchy

IHierarchicalLODUtilities::GetLODLevelForScreenSize()

FHierarchicalLODUtilities::GetLODLevelForScreenSize()

References

Module

HierarchicalLODUtilities

Header

/Engine/Source/Developer/HierarchicalLODUtilities/Public/HierarchicalLODUtilities.h

Include

#include "HierarchicalLODUtilities.h"

Source

/Engine/Source/Developer/HierarchicalLODUtilities/Private/HierarchicalLODUtilities.cpp

Syntax

virtual int32 GetLODLevelForScreenSize
(
    const UStaticMeshComponent * StaticMeshComponent,
    const float ScreenSize
)

Remarks

Computes the LODLevel for a StaticMeshComponent taking into account the ScreenSize

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