![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <MeshProxySettings.h>
Public Member Functions | |
| ENGINE_API | FMeshProxySettings () |
| ENGINE_API bool | operator== (const FMeshProxySettings &Other) const |
| ENGINE_API bool | operator!= (const FMeshProxySettings &Other) const |
| FMeshProxySettings::FMeshProxySettings | ( | ) |
Default settings.
| bool FMeshProxySettings::operator!= | ( | const FMeshProxySettings & | Other | ) | const |
Inequality.
| bool FMeshProxySettings::operator== | ( | const FMeshProxySettings & | Other | ) | const |
Equality operator.
| uint8 FMeshProxySettings::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.
| uint8 FMeshProxySettings::bAllowVertexColors |
Whether to allow vertex colors saved in the merged mesh
| uint8 FMeshProxySettings::bCalculateCorrectLODModel |
Determines whether or not the correct LOD models should be calculated given the source meshes and transition size
| uint8 FMeshProxySettings::bComputeLightMapResolution |
If ticked will compute the lightmap resolution by summing the dimensions for each mesh included for merging
| uint8 FMeshProxySettings::bCreateCollision |
Whether to generate collision for the merged mesh
| uint8 FMeshProxySettings::bGenerateLightmapUVs |
Whether to generate lightmap uvs for the merged mesh
| uint8 FMeshProxySettings::bGroupIdenticalMeshesForBaking |
Bake identical meshes (or mesh instances) only once. Can lead to discrepancies with the source mesh visual, especially for materials that are using world position or per instance data. However, this will result in better quality baked textures & greatly reduce baking time.
| uint8 FMeshProxySettings::bOverrideTransferDistance |
Enable an override for material transfer distance
| uint8 FMeshProxySettings::bOverrideVoxelSize |
If true, Spatial Sampling Distance will not be automatically computed based on geometry and you must set it directly
| uint8 FMeshProxySettings::bRecalculateNormals |
Whether Simplygon should recalculate normals, otherwise the normals channel will be sampled from the original mesh
| uint8 FMeshProxySettings::bReuseMeshLightmapUVs |
Whether to attempt to re-use the source mesh's lightmap UVs when baking the material or always generate a new set.
| uint8 FMeshProxySettings::bSupportRayTracing |
Whether ray tracing will be supported on this mesh. Disable this to save memory if the generated mesh will only be rendered in the distance.
| uint8 FMeshProxySettings::bUseHardAngleThreshold |
Enable the use of hard angle based vertex splitting
| uint8 FMeshProxySettings::bUseLandscapeCulling |
Whether or not to use available landscape geometry to cull away invisible triangles
| float FMeshProxySettings::HardAngleThreshold |
Angle at which a hard edge is introduced between faces
| TEnumAsByte<ELandscapeCullingPrecision::Type> FMeshProxySettings::LandscapeCullingPrecision |
Level of detail of the landscape that should be used for the culling
| int32 FMeshProxySettings::LightMapResolution |
Lightmap resolution
| FMaterialProxySettings FMeshProxySettings::MaterialSettings |
Material simplification
| float FMeshProxySettings::MaxRayCastDist |
Override search distance used when discovering texture values for simplified geometry. Useful when non-zero Merge Distance setting generates new geometry in concave corners.
| float FMeshProxySettings::MergeDistance |
Distance at which meshes should be merged together, this can close gaps like doors and windows in distant geometry
| FMeshNaniteSettings FMeshProxySettings::NaniteSettings |
Settings related to building Nanite data.
| TEnumAsByte<EProxyNormalComputationMethod::Type> FMeshProxySettings::NormalCalculationMethod |
Controls the method used to calculate the normal for the simplified geometry
| int32 FMeshProxySettings::ScreenSize |
Screen size of the resulting proxy mesh in pixels
| FColor FMeshProxySettings::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
| float FMeshProxySettings::VoxelSize |
Override when converting multiple meshes for proxy LOD merging. Warning, large geometry with small sampling has very high memory costs