FMeshReductionSettings

Settings used to reduce a mesh.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Engine/MeshMerging.h

Include

#include "Engine/MeshMerging.h"

Syntax

struct FMeshReductionSettings

Remarks

Settings used to reduce a mesh.

Variables

Name Description

Public variable

int32

 

BaseLODModel

Public variable

uint8: 1

 

bCullOccluded

Public variable

uint8: 1

 

bGenerateUniqueLightmapUVs

Public variable

uint8: 1

 

bKeepSymmetry

Public variable

uint8: 1

 

bRecalculateNormals

Public variable

uint8: 1

 

bVisibilityAided

Public variable

float

 

HardAngleThreshold

Angle at which a hard edge is introduced between faces.

Public variable

float

 

MaxDeviation

The maximum distance in object space by which the reduced mesh may deviate from the original mesh.

Public variable

float

 

PercentTriangles

Percentage of triangles to keep. 1.0 = no reduction, 0.0 = no triangles.

Public variable

float

 

PercentVertices

Percentage of vertices to keep. 1.0 = no reduction, 0.0 = no vertices.

Public variable

float

 

PixelError

The amount of error in pixels allowed for this LOD.

Public variable

TEnumAsByte< EM...

 

ShadingImportance

Higher values try to preserve normals better.

Public variable

TEnumAsByte< EM...

 

SilhouetteImportance

Higher values minimize change to border edges.

Public variable

EStaticMeshRedu...

 

TerminationCriterion

The method to use when optimizing static mesh LODs

Public variable

TEnumAsByte< EM...

 

TextureImportance

Higher values reduce texture stretching.

Public variable

TEnumAsByte< EM...

 

VertexColorImportance

Higher values minimize change to vertex color data.

Public variable

TEnumAsByte< EM...

 

VisibilityAggressiveness

Higher values generates fewer samples

Public variable

float

 

WeldingThreshold

Threshold in object space at which vertices are welded together.

Constructors

Name Description

Public function

FMeshReductionSettings()

Default settings.

Public function

FMeshReductionSettings

(
    const FMeshReductionSettings& Othe...
)

Operators

Name Description

Public function Const

bool

 

operator!=

(
    const FMeshReductionSettings& Othe...
)

Inequality.

Public function Const

bool

 

operator==

(
    const FMeshReductionSettings& Othe...
)

Equality operator.

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback