Module |
|
Header |
/Engine/Source/Runtime/Engine/Classes/Engine/MeshMerging.h |
Include |
#include "Engine/MeshMerging.h" |
struct FMeshMergingSettings
Mesh merging settings
Name | Description | ||
---|---|---|---|
|
uint8: 1 |
bAllowDistanceField |
Whether to allow distance field to be computed for this mesh. |
|
uint8: 1 |
bBakeVertexDataToMesh |
Whether or not vertex data such as vertex colours should be baked into the resulting mesh |
|
uint8: 1 |
bComputedLightMapResolution |
Whether or not the lightmap resolution should be computed by summing the lightmap resolutions for the input Mesh Components |
|
uint8: 1 |
bCreateMergedMaterial |
Create a flat material from all source materials, along with a new set of UVs. |
|
uint8: 1 |
bGenerateLightMapUV |
Whether to generate lightmap UVs for a merged mesh |
|
uint8: 1 |
bIncludeImposters |
Whether or not to include any imposter LODs that are part of the source static meshes |
|
uint8: 1 |
bMergeEquivalentMaterials |
Whether to attempt to merge materials that are deemed equivalent. |
|
uint8: 1 |
bMergeMaterials |
Whether to merge source materials into one flat material, ONLY available when merging a single LOD level, see LODSelectionType |
|
uint8: 1 |
bMergePhysicsData |
Whether to merge physics data (collision primitives) |
|
uint8: 1 |
bPivotPointAtZero |
Whether merged mesh should have pivot at world origin, or at first merged component otherwise |
|
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. |
|
uint8: 1 |
bUseLandscapeCulling |
Whether or not to use available landscape geometry to cull away invisible triangles |
|
uint8: 1 |
bUseTextureBinning |
Whether or not to calculate varying output texture sizes according to their importance in the final atlas texture. |
|
uint8: 1 |
bUseVertexDataForBakingMaterial |
Whether or not vertex data such as vertex colours should be used when baking out materials |
|
GutterSize |
The gutter (in texels) to add to each sub-chart for our baked-out material for the top mip level |
|
|
LODSelectionType |
Which selection mode should be used when generating the merged static mesh |
|
|
MaterialSettings |
Material simplification |
|
|
MergeType |
||
|
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) |
|
SpecificLOD |
A given LOD level to export from the source meshes. |
|
|
TargetLightMapResolution |
The lightmap resolution used both for generating lightmap UV coordinates, and also set on the generated static mesh |
Name | Description | |
---|---|---|
|
FMeshMergingSettings() |
Default settings. |
Name | Description | ||
---|---|---|---|
|
PostLoadDeprecated() |
Handles deprecated properties |
Name | Description | ||
---|---|---|---|
|
uint8: 1 |
bCalculateCorrectLODModel_DEPRECATED |
|
|
uint8: 1 |
bExportMetallicMap_DEPRECATED |
Whether to export metallic maps for material merging |
|
uint8: 1 |
bExportNormalMap_DEPRECATED |
Whether to export normal maps for material merging |
|
uint8: 1 |
bExportRoughnessMap_DEPRECATED |
Whether to export roughness maps for material merging |
|
uint8: 1 |
bExportSpecularMap_DEPRECATED |
Whether to export specular maps for material merging |
|
uint8: 1 |
bImportVertexColors_DEPRECATED |
Whether we should import vertex colors into merged mesh |
|
ExportSpecificLOD_DEPRECATED |
||
|
MergedMaterialAtlasResolution_DEPRECATED |
Merged material texture atlas resolution |