Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/UStaticMesh
Description
Add or change the LOD data specified by LodIndex with the content of the sourceStaticMesh.
@Param SourceStaticMesh - The data we want to use to add or modify the specified lod @Param LodIndex - The lod index we want to add or modify. @Param SourceDataFilename - The source filename thta need to set into the LOD to allow re-import.
| Name | SetCustomLOD |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Engine/StaticMesh.h |
| Include Path | #include "Engine/StaticMesh.h" |
| Source | /Engine/Source/Runtime/Engine/Private/StaticMesh.cpp |
bool SetCustomLOD
(
const UStaticMesh * SourceStaticMesh,
int32 LodIndex,
const FString & SourceDataFilename
)