Navigation
API > API/Runtime > API/Runtime/Engine
Settings applied when building a mesh.
| Name | FMeshBuildSettings |
| Type | struct |
| Header File | /Engine/Source/Runtime/Engine/Classes/Engine/EngineTypes.h |
| Include Path | #include "Engine/EngineTypes.h" |
Syntax
USTRUCT (BlueprintType )
struct FMeshBuildSettings
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FMeshBuildSettings() |
Default settings. | Engine/EngineTypes.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bBuildReversedIndexBuffer | uint8 | Required to optimize mesh in mirrored transform. Double index buffer size. | Engine/EngineTypes.h |
|
| bComputeWeightedNormals | uint8 | If true, we will use the surface area and the corner angle of the triangle as a ratio when computing the normals. | Engine/EngineTypes.h |
|
| bGenerateDistanceFieldAsIfTwoSided | uint8 | Whether to generate the distance field treating every triangle hit as a front face. | Engine/EngineTypes.h |
|
| bGenerateLightmapUVs | uint8 | Engine/EngineTypes.h |
|
|
| bRecomputeNormals | uint8 | If true, normals in the raw mesh are ignored and recomputed. | Engine/EngineTypes.h |
|
| bRecomputeTangents | uint8 | If true, tangents in the raw mesh are ignored and recomputed. | Engine/EngineTypes.h |
|
| bRemoveDegenerates | uint8 | If true, degenerate triangles will be removed. | Engine/EngineTypes.h |
|
| bSupportFaceRemap | uint8 | Engine/EngineTypes.h |
|
|
| BuildScale3D | FVector | The local scale applied when building the mesh | Engine/EngineTypes.h |
|
| bUseBackwardsCompatibleF16TruncUVs | uint8 | If true, UVs will use backwards-compatible F16 conversion with truncation for legacy meshes. | Engine/EngineTypes.h |
|
| bUseFullPrecisionUVs | uint8 | If true, UVs will be stored at full floating point precision. | Engine/EngineTypes.h |
|
| bUseHighPrecisionTangentBasis | uint8 | If true, Tangents will be stored at 16 bit vs 8 bit precision. | Engine/EngineTypes.h |
|
| bUseMikkTSpace | uint8 | If true, degenerate triangles will be removed. | Engine/EngineTypes.h |
|
| DistanceFieldReplacementMesh | TObjectPtr< class UStaticMesh > | Engine/EngineTypes.h |
|
|
| DistanceFieldResolutionScale | float | Scale to apply to the mesh when allocating the distance field volume texture. | Engine/EngineTypes.h |
|
| DstLightmapIndex | int32 | Engine/EngineTypes.h |
|
|
| MaxLumenMeshCards | int32 | Max Lumen mesh cards to generate for this mesh. | Engine/EngineTypes.h |
|
| MinLightmapResolution | int32 | Engine/EngineTypes.h |
|
|
| SrcLightmapIndex | int32 | Engine/EngineTypes.h |
|
Functions
Public
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool operator!=
(
const FMeshBuildSettings& Other |
Inequality. | Engine/EngineTypes.h | |
bool operator==
(
const FMeshBuildSettings& Other |
Equality operator. | Engine/EngineTypes.h |
Deprecated Variables
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| BuildScale_DEPRECATED | float | Engine/EngineTypes.h | ||
| DistanceFieldBias_DEPRECATED | float | Engine/EngineTypes.h |
|