FMeshReductionSettings

Settings used to reduce a mesh.

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

uint32

 

MaxNumOfTriangles

The maximum number of triangles to retain when using percentage termination criterion.

Public variable

uint32

 

MaxNumOfVerts

The maximum number of vertices to retain when using percentage termination criterion.

Public variable

float

 

PercentTriangles

Percentage of triangles to keep.

Public variable

float

 

PercentVertices

Percentage of vertices to keep.

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.

Operators

Name Description

Public function Const

bool

 

operator!=

(
    const FMeshReductionSettings& Othe...
)

Inequality.

Public function Const

bool

 

operator==

(
    const FMeshReductionSettings& Othe...
)

Equality operator.

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