![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <MeshMergingSettings.h>
Public Member Functions | |
| ENGINE_API | FMeshMergingSettings () |
Mesh merging settings
| FMeshMergingSettings::FMeshMergingSettings | ( | ) |
Default settings.
| uint8 FMeshMergingSettings::bAllowDistanceField |
Whether to allow distance field to be computed for this mesh. Disable this to save memory if the merged mesh will only be rendered in the distance.
| uint8 FMeshMergingSettings::bBakeVertexDataToMesh |
Whether or not vertex data such as vertex colours should be baked into the resulting mesh
| uint8 FMeshMergingSettings::bComputedLightMapResolution |
Whether or not the lightmap resolution should be computed by summing the lightmap resolutions for the input Mesh Components
| uint8 FMeshMergingSettings::bGenerateLightMapUV |
Whether to generate lightmap UVs for a merged mesh
| uint8 FMeshMergingSettings::bIncludeImposters |
Whether or not to include any imposter LODs that are part of the source static meshes
| uint8 FMeshMergingSettings::bMergeEquivalentMaterials |
Whether to attempt to merge materials that are deemed equivalent. This can cause artifacts in the merged mesh if world position/actor position etc. is used to determine output color.
| uint8 FMeshMergingSettings::bMergeMaterials |
Whether to merge source materials into one flat material, ONLY available when LOD Selection Type is set to LowestDetailLOD
| uint8 FMeshMergingSettings::bMergeMeshSockets |
Whether to merge sockets
| uint8 FMeshMergingSettings::bMergePhysicsData |
Whether to merge physics data (collision primitives)
| uint8 FMeshMergingSettings::bPivotPointAtZero |
Whether merged mesh should have pivot at world origin, or at first merged component otherwise
| uint8 FMeshMergingSettings::bReuseMeshLightmapUVs |
Whether to attempt to re-use the source mesh's lightmap UVs when baking the material or always generate a new set.
| uint8 FMeshMergingSettings::bSupportRayTracing |
Whether ray tracing will be supported on this mesh. Disable this to save memory if the generated mesh will only be rendered in the distance.
| uint8 FMeshMergingSettings::bUseLandscapeCulling |
Whether or not to use available landscape geometry to cull away invisible triangles
| uint8 FMeshMergingSettings::bUseTextureBinning |
Whether or not to calculate varying output texture sizes according to their importance in the final atlas texture
| uint8 FMeshMergingSettings::bUseVertexDataForBakingMaterial |
Whether or not vertex data such as vertex colours should be used when baking out materials
| int32 FMeshMergingSettings::GutterSize |
The gutter (in texels) to add to each sub-chart for our baked-out material for the top mip level
| EMeshLODSelectionType FMeshMergingSettings::LODSelectionType |
Which selection mode should be used when generating the merged static mesh
| FMaterialProxySettings FMeshMergingSettings::MaterialSettings |
Material simplification
| EMeshMergeType FMeshMergingSettings::MergeType |
| FMeshNaniteSettings FMeshMergingSettings::NaniteSettings |
Settings related to building Nanite data.
| EUVOutput FMeshMergingSettings::OutputUVs[8] |
Whether to output the specified UV channels into the merged mesh (only if the source meshes contain valid UVs for the specified channel)
| int32 FMeshMergingSettings::SpecificLOD |
A given LOD level to export from the source meshes, used if LOD Selection Type is set to SpecificLOD
| int32 FMeshMergingSettings::TargetLightMapResolution |
The lightmap resolution used both for generating lightmap UV coordinates, and also set on the generated static mesh