FMeshMergingSettings

Mesh merging settings

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Engine/MeshMerging.h

Include

#include "Engine/MeshMerging.h"

Syntax

struct FMeshMergingSettings

Remarks

Mesh merging settings

Variables

Name Description

Public variable

uint8: 1

 

bAllowDistanceField

Whether to allow distance field to be computed for this mesh.

Public variable

uint8: 1

 

bBakeVertexDataToMesh

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

Public variable

uint8: 1

 

bComputedLightMapResolution

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

Public variable

uint8: 1

 

bCreateMergedMaterial

Create a flat material from all source materials, along with a new set of UVs.

Public variable

uint8: 1

 

bGenerateLightMapUV

Whether to generate lightmap UVs for a merged mesh

Public variable

uint8: 1

 

bIncludeImposters

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

Public variable

uint8: 1

 

bMergeEquivalentMaterials

Whether to attempt to merge materials that are deemed equivalent.

Public variable

uint8: 1

 

bMergeMaterials

Whether to merge source materials into one flat material, ONLY available when merging a single LOD level, see LODSelectionType

Public variable

uint8: 1

 

bMergePhysicsData

Whether to merge physics data (collision primitives)

Public variable

uint8: 1

 

bPivotPointAtZero

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

Public variable

uint8: 1

 

bReuseMeshLightmapUVs

Whether to attempt to re-use the source mesh's lightmap UVs when baking the material or always generate a new set.

Public variable

uint8: 1

 

bUseLandscapeCulling

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

Public variable

uint8: 1

 

bUseTextureBinning

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

Public variable

uint8: 1

 

bUseVertexDataForBakingMaterial

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

Public variable

int32

 

GutterSize

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

Public variable

EMeshLODSelecti...

 

LODSelectionType

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

Public variable

FMaterialProxyS...

 

MaterialSettings

Material simplification

Public variable

EMeshMergeType

 

MergeType

Public variable

EUVOutput[8]

 

OutputUVs

Whether to output the specified UV channels into the merged mesh (only if the source meshes contain valid UVs for the specified channel)

Public variable

int32

 

SpecificLOD

A given LOD level to export from the source meshes.

Public variable

int32

 

TargetLightMapResolution

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

Constructors

Name Description

Public function

FMeshMergingSettings()

Default settings.

Functions

Name Description

Public function

void

 

PostLoadDeprecated()

Handles deprecated properties

Deprecated Variables

Name Description

Public variable

uint8: 1

 

bCalculateCorrectLODModel_DEPRECATED

Public variable

uint8: 1

 

bExportMetallicMap_DEPRECATED

Whether to export metallic maps for material merging

Public variable

uint8: 1

 

bExportNormalMap_DEPRECATED

Whether to export normal maps for material merging

Public variable

uint8: 1

 

bExportRoughnessMap_DEPRECATED

Whether to export roughness maps for material merging

Public variable

uint8: 1

 

bExportSpecularMap_DEPRECATED

Whether to export specular maps for material merging

Public variable

uint8: 1

 

bImportVertexColors_DEPRECATED

Whether we should import vertex colors into merged mesh

Public variable

int32

 

ExportSpecificLOD_DEPRECATED

Public variable

int32

 

MergedMaterialAtlasResolution_DEPRECATED

Merged material texture atlas resolution

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss