unreal.NaniteShapePreservation

class unreal.NaniteShapePreservation

Bases: EnumBase

Technique for a Nanite mesh to use to ensure its shape is preserved at a distance

C++ Source:

  • Module: Engine

  • File: EngineTypes.h

NONE: NaniteShapePreservation = Ellipsis

Do not attempt to preserve the object’s shape in the distance.

Type:

0

PRESERVE_AREA: NaniteShapePreservation = Ellipsis

Try to maintain the same surface area at all distances (Legacy foliage technique).

Type:

1

VOXELIZE: NaniteShapePreservation = Ellipsis

Simplify triangles to voxels in the distance to preserve the perceived volume of the object. Useful for foliage that thins out otherwise.

Type:

2