IMeshUtilities::GenerateStaticMeshLODs

Builds a static mesh using the provided source models and the LOD groups settings, and replaces the RawMeshes with the reduced meshes.

Unreal Engine C++ API Reference > Developer > MeshUtilities > IMeshUtilities

References

   
Module MeshUtilities
Header /Engine/Source/Developer/MeshUtilities/Public/MeshUtilities.h
Include #include "MeshUtilities.h"
bool GenerateStaticMeshLODs
(
    [UStaticMesh](API\Runtime\Engine\Engine\UStaticMesh) * StaticMesh,
    const class [FStaticMeshLODGroup](API\Runtime\Engine\FStaticMeshLODGroup) & LODGroup
)

Remarks

Builds a static mesh using the provided source models and the LOD groups settings, and replaces the RawMeshes with the reduced meshes. Does not modify renderable data. true if the meshes were built successfully.


Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library