Navigation
API > API/Plugins > API/Plugins/EditorScriptingUtilities > API/Plugins/EditorScriptingUtilities/UDEPRECATED_EditorSkeletalMeshLi-
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/Plugins/Editor/EditorScriptingUtilities/Source/EditorScriptingUtilities/Public/EditorSkeletalMeshLibrary.h |
| Include Path | #include "EditorSkeletalMeshLibrary.h" |
| Source | /Engine/Plugins/Editor/EditorScriptingUtilities/Source/EditorScriptingUtilities/Private/EditorSkeletalMeshLibrary.cpp |
UFUNCTION (BlueprintCallable, Category="Editor Scripting | SkeletalMesh",
Meta=(ScriptName="RemoveLods;RemoveLODs", DeprecatedFunction, DeprecationMessage="The Editor Scripting Utilities Plugin is deprecated - Use the function in Skeletal Mesh Editor Subsystem"))
static bool RemoveLODs
(
USkeletalMesh * SkeletalMesh,
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 |