Module |
|
Header |
/Engine/Source/Runtime/Engine/Classes/Engine/MeshMerging.h |
Include |
#include "Engine/MeshMerging.h" |
struct FMeshReductionSettings
Settings used to reduce a mesh.
Name | Description | ||
---|---|---|---|
|
BaseLODModel |
||
|
uint8: 1 |
bCullOccluded |
|
|
uint8: 1 |
bGenerateUniqueLightmapUVs |
|
|
uint8: 1 |
bKeepSymmetry |
|
|
uint8: 1 |
bRecalculateNormals |
|
|
uint8: 1 |
bVisibilityAided |
|
|
float |
HardAngleThreshold |
Angle at which a hard edge is introduced between faces. |
|
float |
MaxDeviation |
The maximum distance in object space by which the reduced mesh may deviate from the original mesh. |
|
float |
PercentTriangles |
Percentage of triangles to keep. 1.0 = no reduction, 0.0 = no triangles. |
|
float |
PercentVertices |
Percentage of vertices to keep. 1.0 = no reduction, 0.0 = no vertices. |
|
float |
PixelError |
The amount of error in pixels allowed for this LOD. |
|
TEnumAsByte< EM... |
ShadingImportance |
Higher values try to preserve normals better. |
|
TEnumAsByte< EM... |
SilhouetteImportance |
Higher values minimize change to border edges. |
|
TerminationCriterion |
The method to use when optimizing static mesh LODs |
|
|
TEnumAsByte< EM... |
TextureImportance |
Higher values reduce texture stretching. |
|
TEnumAsByte< EM... |
VertexColorImportance |
Higher values minimize change to vertex color data. |
|
TEnumAsByte< EM... |
VisibilityAggressiveness |
Higher values generates fewer samples |
|
float |
WeldingThreshold |
Threshold in object space at which vertices are welded together. |
Name | Description | |
---|---|---|
|
FMeshReductionSettings() |
Default settings. |
|
FMeshReductionSettings ( |
Name | Description | ||
---|---|---|---|
|
operator!= ( |
Inequality. |
|
|
operator== ( |
Equality operator. |