UWorld::InvalidateModelSurface

Discards the cached data used to render the levels' [UModel](API\Runtime\Engine\UModel).

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Engine/World.h

Include

#include "Engine/World.h"

Source

/Engine/Source/Runtime/Engine/Private/World.cpp

Syntax

void InvalidateModelSurface
(
    bool bCurrentLevelOnly
)

Remarks

Discards the cached data used to render the levels' UModel. Assumes that the faces and vertex positions haven't changed, only the applied materials.

Parameters

Parameter

Description

bCurrentLevelOnly

If true, affect only the current level.

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