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

#include <MeshMergingSettings.h>

Public Member Functions

ENGINE_API FMeshMergingSettings ()
 

Public Attributes

int32 TargetLightMapResolution
 
EUVOutput OutputUVs [8]
 
FMaterialProxySettings MaterialSettings
 
int32 GutterSize
 
EMeshLODSelectionType LODSelectionType
 
int32 SpecificLOD
 
uint8 bGenerateLightMapUV:1
 
uint8 bComputedLightMapResolution:1
 
uint8 bPivotPointAtZero:1
 
uint8 bMergePhysicsData:1
 
uint8 bMergeMeshSockets: 1
 
uint8 bMergeMaterials:1
 
uint8 bBakeVertexDataToMesh:1
 
uint8 bUseVertexDataForBakingMaterial:1
 
uint8 bUseTextureBinning:1
 
uint8 bReuseMeshLightmapUVs:1
 
uint8 bMergeEquivalentMaterials:1
 
uint8 bUseLandscapeCulling:1
 
uint8 bIncludeImposters:1
 
uint8 bSupportRayTracing: 1
 
uint8 bAllowDistanceField:1
 
FMeshNaniteSettings NaniteSettings
 
EMeshMergeType MergeType
 

Detailed Description

Mesh merging settings

Constructor & Destructor Documentation

◆ FMeshMergingSettings()

FMeshMergingSettings::FMeshMergingSettings ( )

Default settings.

Member Data Documentation

◆ bAllowDistanceField

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.

◆ bBakeVertexDataToMesh

uint8 FMeshMergingSettings::bBakeVertexDataToMesh

Whether or not vertex data such as vertex colours should be baked into the resulting mesh

◆ bComputedLightMapResolution

uint8 FMeshMergingSettings::bComputedLightMapResolution

Whether or not the lightmap resolution should be computed by summing the lightmap resolutions for the input Mesh Components

◆ bGenerateLightMapUV

uint8 FMeshMergingSettings::bGenerateLightMapUV

Whether to generate lightmap UVs for a merged mesh

◆ bIncludeImposters

uint8 FMeshMergingSettings::bIncludeImposters

Whether or not to include any imposter LODs that are part of the source static meshes

◆ bMergeEquivalentMaterials

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.

◆ bMergeMaterials

uint8 FMeshMergingSettings::bMergeMaterials

Whether to merge source materials into one flat material, ONLY available when LOD Selection Type is set to LowestDetailLOD

◆ bMergeMeshSockets

uint8 FMeshMergingSettings::bMergeMeshSockets

Whether to merge sockets

◆ bMergePhysicsData

uint8 FMeshMergingSettings::bMergePhysicsData

Whether to merge physics data (collision primitives)

◆ bPivotPointAtZero

uint8 FMeshMergingSettings::bPivotPointAtZero

Whether merged mesh should have pivot at world origin, or at first merged component otherwise

◆ bReuseMeshLightmapUVs

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.

◆ bSupportRayTracing

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.

◆ bUseLandscapeCulling

uint8 FMeshMergingSettings::bUseLandscapeCulling

Whether or not to use available landscape geometry to cull away invisible triangles

◆ bUseTextureBinning

uint8 FMeshMergingSettings::bUseTextureBinning

Whether or not to calculate varying output texture sizes according to their importance in the final atlas texture

◆ bUseVertexDataForBakingMaterial

uint8 FMeshMergingSettings::bUseVertexDataForBakingMaterial

Whether or not vertex data such as vertex colours should be used when baking out materials

◆ GutterSize

int32 FMeshMergingSettings::GutterSize

The gutter (in texels) to add to each sub-chart for our baked-out material for the top mip level

◆ LODSelectionType

EMeshLODSelectionType FMeshMergingSettings::LODSelectionType

Which selection mode should be used when generating the merged static mesh

◆ MaterialSettings

FMaterialProxySettings FMeshMergingSettings::MaterialSettings

Material simplification

◆ MergeType

EMeshMergeType FMeshMergingSettings::MergeType

◆ NaniteSettings

FMeshNaniteSettings FMeshMergingSettings::NaniteSettings

Settings related to building Nanite data.

◆ OutputUVs

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)

◆ SpecificLOD

int32 FMeshMergingSettings::SpecificLOD

A given LOD level to export from the source meshes, used if LOD Selection Type is set to SpecificLOD

◆ TargetLightMapResolution

int32 FMeshMergingSettings::TargetLightMapResolution

The lightmap resolution used both for generating lightmap UV coordinates, and also set on the generated static mesh


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