Navigation
API > API/Runtime > API/Runtime/Engine
Technique for a Nanite mesh to use to ensure its shape is preserved at a distance
| Name | ENaniteShapePreservation |
| Type | enum |
| Header File | /Engine/Source/Runtime/Engine/Classes/Engine/EngineTypes.h |
| Include Path | #include "Engine/EngineTypes.h" |
Syntax
enum ENaniteShapePreservation
{
None,
PreserveArea,
Voxelize,
}
Values
| Name | Remarks |
|---|---|
| None | Do not attempt to preserve the object's shape in the distance. |
| PreserveArea | Try to maintain the same surface area at all distances (Legacy foliage technique). |
| Voxelize | Simplify triangles to voxels in the distance to preserve the perceived volume of the object. |