Module |
|
Header |
/Engine/Source/Runtime/Engine/Classes/Engine/EngineTypes.h |
Include |
#include "Engine/EngineTypes.h" |
struct FMeshBuildSettings
Settings applied when building a mesh.
Name | Description | ||
---|---|---|---|
|
uint8: 1 |
bBuildAdjacencyBuffer |
Required for PNT tessellation but can be slow. Recommend disabling for larger meshes. |
|
uint8: 1 |
bBuildReversedIndexBuffer |
Required to optimize mesh in mirrored transform. Double index buffer size. |
|
uint8: 1 |
bComputeWeightedNormals |
If true, we will use the surface area and the corner angle of the triangle as a ratio when computing the normals. |
|
uint8: 1 |
bGenerateDistanceFieldAsIfTwoSided |
Whether to generate the distance field treating every triangle hit as a front face. |
|
uint8: 1 |
bGenerateLightmapUVs |
|
|
uint8: 1 |
bRecomputeNormals |
If true, normals in the raw mesh are ignored and recomputed. |
|
uint8: 1 |
bRecomputeTangents |
If true, tangents in the raw mesh are ignored and recomputed. |
|
uint8: 1 |
bRemoveDegenerates |
If true, degenerate triangles will be removed. |
|
uint8: 1 |
bSupportFaceRemap |
|
|
BuildScale3D |
The local scale applied when building the mesh |
|
|
uint8: 1 |
bUseFullPrecisionUVs |
If true, UVs will be stored at full floating point precision. |
|
uint8: 1 |
bUseHighPrecisionTangentBasis |
If true, Tangents will be stored at 16 bit vs 8 bit precision. |
|
uint8: 1 |
bUseMikkTSpace |
If true, degenerate triangles will be removed. |
|
UStaticMesh ... |
DistanceFieldReplacementMesh |
|
|
float |
DistanceFieldResolutionScale |
Scale to apply to the mesh when allocating the distance field volume texture. |
|
DstLightmapIndex |
||
|
MinLightmapResolution |
||
|
SrcLightmapIndex |
Name | Description | |
---|---|---|
|
FMeshBuildSettings() |
Default settings. |
Name | Description | ||
---|---|---|---|
|
operator!= ( |
Inequality. |
|
|
operator== ( |
Equality operator. |
Name | Description | ||
---|---|---|---|
|
float |
BuildScale_DEPRECATED |
|
|
float |
DistanceFieldBias_DEPRECATED |