Set Lods with Notification

Set Lods with Notification

Windows
MacOS
Linux

Remove then add LODs on a static mesh. The static mesh must have at least LOD 0. The LOD 0 of the static mesh is kept after removal. The build settings of LOD 0 will be applied to all subsequent LODs.

Target is Editor Static Mesh Library

Set Lods with Notification
Static Mesh
Select Asset
Reduction Options
Apply Changes
Return Value
0

Inputs

In
Exec
Static Mesh
Static Mesh Object Reference

Mesh to process.

Reduction Options
Editor Scripting Mesh Reduction Options Structure (by ref)

Options on how to generate LODs on the mesh.

Apply Changes
Boolean

Indicates if change must be notified.

Outputs

Out
Exec
Return Value
Integer

the number of LODs generated on the input mesh. An negative value indicates that the reduction could not be performed. See log for explanation. No action will be performed if ReductionOptions.ReductionSettings is empty

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