Navigation
API > API/Runtime > API/Runtime/Engine
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Public/MeshReductionSettings.h |
| Include | #include "MeshReductionSettings.h" |
Syntax
USTRUCT (Blueprintable)
struct FMeshReductionSettings
Remarks
Settings used to reduce a mesh.
Variables
| Type | Name | Description | |
|---|---|---|---|
| int32 | 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. | |
| uint32 | MaxNumOfTriangles | The maximum number of triangles to retain when using percentage termination criterion. | |
| uint32 | MaxNumOfVerts | The maximum number of vertices to retain when using percentage termination criterion. | |
| float | PercentTriangles | Percentage of triangles to keep. | |
| float | PercentVertices | Percentage of vertices to keep. | |
| float | PixelError | The amount of error in pixels allowed for this LOD. | |
| TEnumAsByte< EMeshFeatureImportance::Type > | ShadingImportance | Higher values try to preserve normals better. | |
| TEnumAsByte< EMeshFeatureImportance::Type > | SilhouetteImportance | Higher values minimize change to border edges. | |
| EStaticMeshReductionTerimationCriterion | TerminationCriterion | The method to use when optimizing static mesh LODs | |
| TEnumAsByte< EMeshFeatureImportance::Type > | TextureImportance | Higher values reduce texture stretching. | |
| TEnumAsByte< EMeshFeatureImportance::Type > | VertexColorImportance | Higher values minimize change to vertex color data. | |
| TEnumAsByte< EMeshFeatureImportance::Type > | VisibilityAggressiveness | Higher values generates fewer samples | |
| float | WeldingThreshold | Threshold in object space at which vertices are welded together. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
| Default settings. |
Operators
| Type | Name | Description | |
|---|---|---|---|
| bool | operator!=
(
const FMeshReductionSettings& Other |
Inequality. | |
| bool | operator==
(
const FMeshReductionSettings& Other |
Equality operator. |