Navigation
API > API/Editor > API/Editor/SkeletalMeshEditor > API/Editor/SkeletalMeshEditor/USkeletalMeshEditorSubsystem
Description
Remove all the specified LODs. This function will remove all the valid LODs in the list. Valid LOD is any LOD greater then 0 that exist in the skeletalmesh. We cannot remove the base LOD 0.
| Name | RemoveLODs |
| Type | function |
| Header File | /Engine/Source/Editor/SkeletalMeshEditor/Public/SkeletalMeshEditorSubsystem.h |
| Include Path | #include "SkeletalMeshEditorSubsystem.h" |
| Source | /Engine/Source/Editor/SkeletalMeshEditor/Private/SkeletalMeshEditorSubsystem.cpp |
UFUNCTION (BlueprintCallable, Category="Editor Scripting | SkeletalMesh",
Meta=(ScriptName="RemoveLods;RemoveLODs"))
static bool RemoveLODs
(
USkeletalMesh * BaseMesh,
const TArray< int32 > ToRemoveLODs
)
true if the successfully remove all the LODs. False otherwise, but evedn if it return false it will have removed all valid LODs.
Parameters
| Name | Remarks |
|---|---|
| SkeletalMesh | The mesh inside which we are renaming a socket |
| ToRemoveLODs | The LODs we need to remove |