Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/UWorld
Description
Discards the cached data used to render the levels' UModel. Assumes that the faces and vertex positions haven't changed, only the applied materials.
| Name | InvalidateModelSurface |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Engine/World.h |
| Include Path | #include "Engine/World.h" |
| Source | /Engine/Source/Runtime/Engine/Private/World.cpp |
void InvalidateModelSurface
(
bool bCurrentLevelOnly
)
Parameters
| Name | Remarks |
|---|---|
| bCurrentLevelOnly | If true, affect only the current level. |