IMeshUtilities::GenerateStaticMeshLODs

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

Windows
MacOS
Linux

References

Module

MeshUtilities

Header

/Engine/Source/Developer/MeshUtilities/Public/MeshUtilities.h

Include

#include "MeshUtilities.h"

Syntax

bool GenerateStaticMeshLODs
(
    UStaticMesh * StaticMesh,
    const class 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.

Returns

true if the meshes were built successfully.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss