Navigation
API > API/Plugins > API/Plugins/MeshPartitionEditor
Selects which simplification inputs the user authors directly and which are derived. Driving values vs. derived values are paired so the UI can grey out the dependent fields.
| Name | UE::MeshPartition::EMeshPartitionSimplificationMode |
| Type | enum |
| Header File | /Engine/Plugins/Experimental/MeshPartition/Source/MeshPartitionEditor/Public/MeshPartitionStaticMeshTransformer.h |
| Include Path | #include "MeshPartitionStaticMeshTransformer.h" |
Syntax
namespace UE
{
namespace MeshPartition
{
enum EMeshPartitionSimplificationMode
{
UMETA =(DisplayName = "Derive ScreenSize from Error"),
UMETA =(DisplayName = "Derive Target ErrorTolerance from ScreenSize"),
UMETA =(DisplayName = "TriangleCount from ScreenSize"),
UMETA =(DisplayName = "Custom"),
}
}
}
Values
| Name | Remarks |
|---|---|
| UMETA | ErrorTolerance drives simplification; ScreenSize is derived from the achieved deviation and PixelError. |
| UMETA | ScreenSize drives simplification; ErrorTolerance is derived from ScreenSize and PixelError. |
| UMETA | ScreenSize drives simplification via MaxTrianglesFraction = ScreenSize; ErrorTolerance is unused. |
| UMETA | All fields authored manually; no field is derived. |