UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FStaticMeshOptimizationSettings Struct Reference

#include <StaticMesh.h>

Public Member Functions

 FStaticMeshOptimizationSettings ()
 

Public Attributes

TEnumAsByte< enum EOptimizationTypeReductionMethod
 
float NumOfTrianglesPercentage
 
float MaxDeviationPercentage
 
float WeldingThreshold
 
bool bRecalcNormals
 
float NormalsThreshold
 
uint8 SilhouetteImportance
 
uint8 TextureImportance
 
uint8 ShadingImportance
 

Friends

FArchiveoperator<< (FArchive &Ar, FStaticMeshOptimizationSettings &Settings)
 

Detailed Description

Old optimization settings.

Constructor & Destructor Documentation

◆ FStaticMeshOptimizationSettings()

FStaticMeshOptimizationSettings::FStaticMeshOptimizationSettings ( )
inline

Friends And Related Symbol Documentation

◆ operator<<

FArchive & operator<< ( FArchive Ar,
FStaticMeshOptimizationSettings Settings 
)
friend

Serialization for FStaticMeshOptimizationSettings.

Member Data Documentation

◆ bRecalcNormals

bool FStaticMeshOptimizationSettings::bRecalcNormals

Whether Normal smoothing groups should be preserved. If false then NormalsThreshold is used

◆ MaxDeviationPercentage

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.

◆ NormalsThreshold

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

◆ NumOfTrianglesPercentage

float FStaticMeshOptimizationSettings::NumOfTrianglesPercentage

If ReductionMethod equals SMOT_NumOfTriangles this value is the ratio of triangles [0-1] to remove from the mesh

◆ ReductionMethod

TEnumAsByte<enum EOptimizationType> FStaticMeshOptimizationSettings::ReductionMethod

The method to use when optimizing the skeletal mesh LOD

◆ ShadingImportance

uint8 FStaticMeshOptimizationSettings::ShadingImportance

How important shading quality is.

◆ SilhouetteImportance

uint8 FStaticMeshOptimizationSettings::SilhouetteImportance

How important the shape of the geometry is (EImportanceLevel).

◆ TextureImportance

uint8 FStaticMeshOptimizationSettings::TextureImportance

How important texture density is (EImportanceLevel).

◆ WeldingThreshold

float FStaticMeshOptimizationSettings::WeldingThreshold

The welding threshold distance. Vertices under this distance will be welded.


The documentation for this struct was generated from the following file: