![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <StaticMesh.h>
Public Member Functions | |
| FStaticMeshOptimizationSettings () | |
Friends | |
| FArchive & | operator<< (FArchive &Ar, FStaticMeshOptimizationSettings &Settings) |
Old optimization settings.
|
inline |
|
friend |
Serialization for FStaticMeshOptimizationSettings.
| bool FStaticMeshOptimizationSettings::bRecalcNormals |
Whether Normal smoothing groups should be preserved. If false then NormalsThreshold is used
| float FStaticMeshOptimizationSettings::MaxDeviationPercentage |
If ReductionMethod equals SMOT_MaxDeviation this value is the maximum deviation from the base mesh as a percentage of the bounding sphere.
| float FStaticMeshOptimizationSettings::NormalsThreshold |
If the angle between two triangles are above this value, the normals will not be smooth over the edge between those two triangles. Set in degrees. This is only used when PreserveNormals is set to false
| float FStaticMeshOptimizationSettings::NumOfTrianglesPercentage |
If ReductionMethod equals SMOT_NumOfTriangles this value is the ratio of triangles [0-1] to remove from the mesh
| TEnumAsByte<enum EOptimizationType> FStaticMeshOptimizationSettings::ReductionMethod |
The method to use when optimizing the skeletal mesh LOD
| uint8 FStaticMeshOptimizationSettings::ShadingImportance |
How important shading quality is.
| uint8 FStaticMeshOptimizationSettings::SilhouetteImportance |
How important the shape of the geometry is (EImportanceLevel).
| uint8 FStaticMeshOptimizationSettings::TextureImportance |
How important texture density is (EImportanceLevel).
| float FStaticMeshOptimizationSettings::WeldingThreshold |
The welding threshold distance. Vertices under this distance will be welded.