Navigation
Unreal Engine C++ API Reference > Developer > SkeletalMeshUtilitiesCommon > FLODUtilities
References
Module | SkeletalMeshUtilitiesCommon |
Header | /Engine/Source/Developer/SkeletalMeshUtilitiesCommon/Public/LODUtilities.h |
Include | #include "LODUtilities.h" |
Source | /Engine/Source/Developer/SkeletalMeshUtilitiesCommon/Private/LODUtilities.cpp |
static bool RegenerateLOD ( [USkeletalMesh](API\Runtime\Engine\Engine\USkeletalMesh) * SkeletalMesh, const class [ITargetPlatform](API\Developer\TargetPlatform\Interfaces\ITargetPlatform) * TargetPlatform, int32 NewLODCount, bool bRegenerateEvenIfImported, bool bGenerateBaseLOD )
Remarks
Regenerate LODs of the mesh true if succeed. If mesh reduction is not available this will return false.
Parameters
Name | Description |
---|---|
SkeletalMesh | : the mesh that will regenerate LOD |
NewLODCount | : Set valid value (>0) if you want to change LOD count. Otherwise, it will use the current LOD and regenerate |
bRegenerateEvenIfImported | : If this is true, it only regenerate even if this LOD was imported before If false, it will regenerate for only previously auto generated ones |