FMeshProxySettings

Windows
MacOS
Linux

References

Module

Engine

Header

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

Include

#include "Engine/MeshMerging.h"

Syntax

struct FMeshProxySettings

Variables

Name Description

Public variable

uint8: 1

 

bAllowAdjacency

Whether to allow adjacency buffers for tessellation in the merged mesh

Public variable

uint8: 1

 

bAllowDistanceField

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

Public variable

uint8: 1

 

bAllowVertexColors

Whether to allow vertex colors saved in the merged mesh

Public variable

uint8: 1

 

bCalculateCorrectLODModel

Determines whether or not the correct LOD models should be calculated given the source meshes and transition size

Public variable

uint8: 1

 

bComputeLightMapResolution

If ticked will compute the lightmap resolution by summing the dimensions for each mesh included for merging

Public variable

uint8: 1

 

bCreateCollision

Whether to generate collision for the merged mesh

Public variable

uint8: 1

 

bGenerateLightmapUVs

Whether to generate lightmap uvs for the merged mesh

Public variable

uint8: 1

 

bOverrideTransferDistance

Enable an override for material transfer distance

Public variable

uint8: 1

 

bOverrideVoxelSize

If true, Spatial Sampling Distance will not be automatically computed based on geometry and you must set it directly

Public variable

uint8: 1

 

bRecalculateNormals

Whether Simplygon should recalculate normals, otherwise the normals channel will be sampled from the original mesh

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

 

bUseHardAngleThreshold

Enable the use of hard angle based vertex splitting

Public variable

uint8: 1

 

bUseLandscapeCulling

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

Public variable

float

 

HardAngleThreshold

Angle at which a hard edge is introduced between faces

Public variable

TEnumAsByte< EL...

 

LandscapeCullingPrecision

Level of detail of the landscape that should be used for the culling

Public variable

int32

 

LightMapResolution

Lightmap resolution

Public variable

FMaterialProxyS...

 

MaterialSettings

Material simplification

Public variable

float

 

MaxRayCastDist

Override search distance used when discovering texture values for simplified geometry.

Public variable

float

 

MergeDistance

Distance at which meshes should be merged together, this can close gaps like doors and windows in distant geometry

Public variable

TEnumAsByte< EP...

 

NormalCalculationMethod

Controls the method used to calculate the normal for the simplified geometry

Public variable

int32

 

ScreenSize

Screen size of the resulting proxy mesh in pixels

Public variable

FColor

 

UnresolvedGeometryColor

Base color assigned to LOD geometry that can't be associated with the source geometry: e.g. doors and windows that have been closed by the Merge Distance

Public variable

float

 

VoxelSize

Override when converting multiple meshes for proxy LOD merging.

Constructors

Name Description

Public function

FMeshProxySettings()

Default settings.

Functions

Name Description

Public function

void

 

PostLoadDeprecated()

Handles deprecated properties

Operators

Name Description

Public function Const

bool

 

operator!=

(
    const FMeshProxySettings& Other
)

Inequality.

Public function Const

bool

 

operator==

(
    const FMeshProxySettings& Other
)

Equality operator.

Deprecated Variables

Name Description

Public variable

uint8: 1

 

bBakeVertexData_DEPRECATED

Public variable

uint8: 1

 

bExportMetallicMap_DEPRECATED

Public variable

uint8: 1

 

bExportNormalMap_DEPRECATED

Public variable

uint8: 1

 

bExportRoughnessMap_DEPRECATED

Public variable

uint8: 1

 

bExportSpecularMap_DEPRECATED

Public variable

int32

 

TextureHeight_DEPRECATED

Public variable

int32

 

TextureWidth_DEPRECATED

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