![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <EngineTypes.h>
Public Member Functions | |
| FMeshBuildSettings () | |
| bool | operator== (const FMeshBuildSettings &Other) const |
| bool | operator!= (const FMeshBuildSettings &Other) const |
Settings applied when building a mesh.
|
inline |
Default settings.
|
inline |
Inequality.
|
inline |
Equality operator.
| uint8 FMeshBuildSettings::bBuildReversedIndexBuffer |
Required to optimize mesh in mirrored transform. Double index buffer size.
| uint8 FMeshBuildSettings::bComputeWeightedNormals |
If true, we will use the surface area and the corner angle of the triangle as a ratio when computing the normals.
| uint8 FMeshBuildSettings::bGenerateDistanceFieldAsIfTwoSided |
Whether to generate the distance field treating every triangle hit as a front face.
When enabled prevents the distance field from being discarded due to the mesh being open, but also lowers Distance Field AO quality.
| uint8 FMeshBuildSettings::bGenerateLightmapUVs |
| uint8 FMeshBuildSettings::bRecomputeNormals |
If true, normals in the raw mesh are ignored and recomputed.
| uint8 FMeshBuildSettings::bRecomputeTangents |
If true, tangents in the raw mesh are ignored and recomputed.
| uint8 FMeshBuildSettings::bRemoveDegenerates |
If true, degenerate triangles will be removed.
| uint8 FMeshBuildSettings::bSupportFaceRemap |
| FVector FMeshBuildSettings::BuildScale3D |
The local scale applied when building the mesh
| float FMeshBuildSettings::BuildScale_DEPRECATED |
| uint8 FMeshBuildSettings::bUseBackwardsCompatibleF16TruncUVs |
If true, UVs will use backwards-compatible F16 conversion with truncation for legacy meshes.
| uint8 FMeshBuildSettings::bUseFullPrecisionUVs |
If true, UVs will be stored at full floating point precision.
| uint8 FMeshBuildSettings::bUseHighPrecisionTangentBasis |
If true, Tangents will be stored at 16 bit vs 8 bit precision.
| uint8 FMeshBuildSettings::bUseMikkTSpace |
If true, degenerate triangles will be removed.
| TObjectPtr<class UStaticMesh> FMeshBuildSettings::DistanceFieldReplacementMesh |
| float FMeshBuildSettings::DistanceFieldResolutionScale |
Scale to apply to the mesh when allocating the distance field volume texture. The default scale is 1, which is assuming that the mesh will be placed unscaled in the world.
| int32 FMeshBuildSettings::DstLightmapIndex |
| int32 FMeshBuildSettings::MaxLumenMeshCards |
Max Lumen mesh cards to generate for this mesh. More cards means that surface will have better coverage, but will result in increased runtime overhead. Set to 0 in order to disable mesh card generation for this mesh. Default is 12.
| int32 FMeshBuildSettings::MinLightmapResolution |
| int32 FMeshBuildSettings::SrcLightmapIndex |