engine
 
载入中...
搜索中...
未找到
Public 成员函数 | Public 属性 | 所有成员列表
FMeshMergingSettings结构体 参考

Mesh merging settings 更多...

#include <MeshMerging.h>

Public 成员函数

 FMeshMergingSettings ()
 Default settings.
 

Public 属性

uint8 bAllowDistanceField:1
 Whether to allow distance field to be computed for this mesh. 更多...
 
uint8 bBakeVertexDataToMesh:1
 Whether or not vertex data such as vertex colours should be baked into the resulting mesh
 
uint8 bComputedLightMapResolution:1
 Whether or not the lightmap resolution should be computed by summing the lightmap resolutions for the input Mesh Components
 
uint8 bCreateMergedMaterial: 1
 Create a flat material from all source materials, along with a new set of UVs. 更多...
 
uint8 bGenerateLightMapUV:1
 Whether to generate lightmap UVs for a merged mesh
 
uint8 bIncludeImposters:1
 Whether or not to include any imposter LODs that are part of the source static meshes
 
uint8 bMergeEquivalentMaterials:1
 Whether to attempt to merge materials that are deemed equivalent. 更多...
 
uint8 bMergeMaterials:1
 Whether to merge source materials into one flat material, ONLY available when merging a single LOD level, see LODSelectionType
 
uint8 bMergePhysicsData:1
 Whether to merge physics data (collision primitives)
 
uint8 bPivotPointAtZero:1
 Whether merged mesh should have pivot at world origin, or at first merged component otherwise
 
uint8 bReuseMeshLightmapUVs:1
 Whether to attempt to re-use the source mesh's lightmap UVs when baking the material or always generate a new set.
 
uint8 bUseLandscapeCulling:1
 Whether or not to use available landscape geometry to cull away invisible triangles
 
uint8 bUseVertexDataForBakingMaterial:1
 Whether or not vertex data such as vertex colours should be used when baking out materials
 
int32 GutterSize
 The gutter (in texels) to add to each sub-chart for our baked-out material for the top mip level
 
EMeshLODSelectionType LODSelectionType
 Which selection mode should be used when generating the merged static mesh
 
FMaterialProxySettings MaterialSettings
 Material simplification
 
EUVOutput 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 TargetLightMapResolution
 The lightmap resolution used both for generating lightmap UV coordinates, and also set on the generated static mesh
 

详细描述

Mesh merging settings

类成员变量说明

◆ 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.

◆ bCreateMergedMaterial

uint8 FMeshMergingSettings::bCreateMergedMaterial

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

This material won't be applied to any section by default.

◆ 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.


该结构体的文档由以下文件生成: