set_asset_lod_settings
Set the real LOD count for a UStaticMesh asset by adding or removing source models, rebuilding, and saving to disk. SkeletalMesh LOD count changes are not applied; read-only LOD info is still reported.
Instructions
Sets the REAL LOD count on a UStaticMesh (adds/removes FStaticMeshSourceModel entries via AddSourceModel/RemoveSourceModel, rebuilds via PostEditChange, saves to disk). SkeletalMesh LOD-count mutation is NOT supported (would require the FLODUtilities mesh-reduction subsystem, out of scope) -- read-only LOD info is still reported honestly. Non-mesh assets fail with success:false.
Returns: { asset_path: string, requested_lod_count: number, asset_type: string, current_lod_count?: number, total_triangles?: number, total_vertices?: number, lod_data?: [object], saved?: bool, success: bool, message: string, error?: string, final_lod_count: number, lod_efficiency?: number, lod_recommendations?: [string] }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lod_count | Yes | The desired number of LOD levels (1-8). Must be an integer. Only mutates for UStaticMesh; reported but not applied for SkeletalMesh/other. | |
| asset_path | Yes | The path to the asset in the asset registry. |