Language:
Discover
By Skill Level
By Category

FMeshBuildSettings

Choose your OS:

Syntax

struct FMeshBuildSettings

Remarks

Settings applied when building a mesh.

Variables

Name Description

Public variable

uint8 : 1

 

bBuildAdjacencyBuffer

Required for PNT tessellation but can be slow. Recommend disabling for larger meshes.

Public variable

uint8 : 1

 

bBuildReversedIndexBuffer

Required to optimize mesh in mirrored transform. Double index buffer size.

Public variable

uint8 : 1

 

bGenerateDistanceFieldAsIfTwoSided

Whether to generate the distance field treating every triangle hit as a front face.

Public variable

uint8 : 1

 

bGenerateLightmapUVs

Public variable

uint8 : 1

 

bRecomputeNormals

If true, normals in the raw mesh are ignored and recomputed.

Public variable

uint8 : 1

 

bRecomputeTangents

If true, tangents in the raw mesh are ignored and recomputed.

Public variable

uint8 : 1

 

bRemoveDegenerates

If true, degenerate triangles will be removed.

Public variable

FVector

 

BuildScale3D

The local scale applied when building the mesh

Public variable

uint8 : 1

 

bUseFullPrecisionUVs

If true, UVs will be stored at full floating point precision.

Public variable

uint8 : 1

 

bUseHighPrecisionTangentBasis

If true, Tangents will be stored at 16 bit vs 8 bit precision.

Public variable

uint8 : 1

 

bUseMikkTSpace

If true, degenerate triangles will be removed.

Public variable

UStaticMesh ...

 

DistanceFieldReplacementMesh

Public variable

float

 

DistanceFieldResolutionScale

Scale to apply to the mesh when allocating the distance field volume texture.

Public variable

int32

 

DstLightmapIndex

Public variable

int32

 

MinLightmapResolution

Public variable

int32

 

SrcLightmapIndex

Constructors

Name Description

Public function

FMeshBuildSettings()

Default settings.

Operators

Name Description

Public function

bool

 

operator!=

(
    const FMeshBuildSettings & Other
)

Inequality.

Public function

bool

 

operator==

(
    const FMeshBuildSettings & Other
)

Equality operator.

References

Module

Engine

Header

Runtime/Engine/Classes/Engine/EngineTypes.h