Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/ComputeLODForMeshes
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Public/SceneManagement.h |
| Include | #include "SceneManagement.h" |
| Source | /Engine/Source/Runtime/Engine/Private/SceneManagement.cpp |
FLODMask ComputeLODForMeshes
(
const TArray < class FStaticMeshBatchRelevance > & StaticMeshRelevances,
const FSceneView & View,
const FVector4 & Origin,
float SphereRadius,
int32 ForcedLODLevel,
float & OutScreenRadiusSquared,
int8 CurFirstLODIdx,
float ScreenSizeScale,
bool bDitheredLODTransition
)
Remarks
Computes the LOD to render for the list of static meshes in the given view.
Parameters
| Name | Description |
|---|---|
| StaticMeshes | List of static meshes. |
| View | The view to render the LOD level for |
| Origin | Origin of the bounds of the primitive in world space |
| SphereRadius | Radius of the sphere bounds of the primitive in world space |