engine
 
载入中...
搜索中...
未找到
Public 属性 | 友元 | 所有成员列表
FStaticMeshOptimizationSettings结构体 参考

Old optimization settings. 更多...

#include <StaticMesh.h>

Public 属性

bool bRecalcNormals
 Whether Normal smoothing groups should be preserved. 更多...
 
float MaxDeviationPercentage
 If ReductionMethod equals SMOT_MaxDeviation this value is the maximum deviation from the base mesh as a percentage of the bounding sphere.
 
float NormalsThreshold
 If the angle between two triangles are above this value, the normals will not be smooth over the edge between those two triangles. 更多...
 
float NumOfTrianglesPercentage
 If ReductionMethod equals SMOT_NumOfTriangles this value is the ratio of triangles [0-1] to remove from the mesh
 
TEnumAsByte< enum EOptimizationType > ReductionMethod
 The method to use when optimizing the skeletal mesh LOD
 
uint8 ShadingImportance
 How important shading quality is.
 
uint8 SilhouetteImportance
 How important the shape of the geometry is (EImportanceLevel).
 
uint8 TextureImportance
 How important texture density is (EImportanceLevel).
 
float WeldingThreshold
 The welding threshold distance. 更多...
 

友元

FArchive & operator<< (FArchive &Ar, FStaticMeshOptimizationSettings &Settings)
 Serialization for FStaticMeshOptimizationSettings.
 

详细描述

Old optimization settings.

类成员变量说明

◆ bRecalcNormals

bool FStaticMeshOptimizationSettings::bRecalcNormals

Whether Normal smoothing groups should be preserved.

If false then NormalsThreshold is used

◆ 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

◆ WeldingThreshold

float FStaticMeshOptimizationSettings::WeldingThreshold

The welding threshold distance.

Vertices under this distance will be welded.


该结构体的文档由以下文件生成: