Navigation
API > API/Plugins > API/Plugins/EditorScriptingUtilities > API/Plugins/EditorScriptingUtilities/UDEPRECATED_EditorSkeletalMeshLi-
Description
This function will strip all triangle in the specified LOD that don't have any UV area pointing on a black pixel in the TextureMask. We use the UVChannel 0 to find the pixels in the texture.
@Param SkeletalMesh: The skeletalmesh we want to optimize @Param LODIndex: The LOD we want to optimize @Param TextureMask: The texture containing the stripping mask. non black pixel strip triangle, black pixel keep them. @Param Threshold: The threshold we want when comparing the texture value with zero.
| Name | StripLODGeometry |
| 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=(DeprecatedFunction, DeprecationMessage="The Editor Scripting Utilities Plugin is deprecated - Use the function in Skeletal Mesh Editor Subsystem"))
static bool StripLODGeometry
(
USkeletalMesh * SkeletalMesh,
const int32 LODIndex,
UTexture2D * TextureMask,
const float Threshold
)