Navigation
Unreal Engine C++ API Reference > Developer > MeshReductionInterface > IMeshReduction
References
Module | MeshReductionInterface |
Header | /Engine/Source/Developer/MeshReductionInterface/Public/IMeshReductionInterfaces.h |
Include | #include "IMeshReductionInterfaces.h" |
void ReduceMeshDescription ( [FMeshDescription](API\Runtime\MeshDescription\FMeshDescription) & OutReducedMesh, float & OutMaxDeviation, const [FMeshDescription](API\Runtime\MeshDescription\FMeshDescription) & InMesh, const [FOverlappingCorners](API\Runtime\MeshUtilitiesCommon\FOverlappingCorners) & InOverlappingCorners, const struct [FMeshReductionSettings](API\Runtime\Engine\Engine\FMeshReductionSettings) & ReductionSettings )
Remarks
Reduces the raw mesh using the provided reduction settings.
Parameters
Name | Description |
---|---|
OutReducedMesh | Upon return contains the reduced mesh. |
OutMaxDeviation | Upon return contains the maximum distance by which the reduced mesh deviates from the original. |
InMesh | The mesh to reduce. |
ReductionSettings | Setting with which to reduce the mesh. |