FSkeletalMeshObject::UpdateMinDesiredLODLevel

Given a set of views, update the MinDesiredLODLevel member to indicate the minimum (ie best) LOD we would like to use to render this mesh.

Choose your operating system:

Windows

macOS

Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Public/SkeletalRenderPublic.h

Include

#include "SkeletalRenderPublic.h"

Source

/Engine/Source/Runtime/Engine/Private/SkeletalRender.cpp

Syntax

void UpdateMinDesiredLODLevel
(
    const FSceneView * View,
    const FBoxSphereBounds & Bounds,
    int32 FrameNumber,
    uint8 CurFirstLODIdx
)

Remarks

Given a set of views, update the MinDesiredLODLevel member to indicate the minimum (ie best) LOD we would like to use to render this mesh. This is called from the rendering thread (PreRender) so be very careful what you read/write to.

Parameters

Parameter

Description

FrameNumber

from ViewFamily.FrameNumber