unreal.DataprepSetNaniteSettingsOperation
¶
- class unreal.DataprepSetNaniteSettingsOperation(outer: Object | None = None, name: Name | str = 'None')¶
Bases:
DataprepOperation
For each static mesh to process, enables/disables Nanite build and if enabled update settings.
C++ Source:
Plugin: DataprepEditor
Module: DataprepLibraries
File: DataprepOperations.h
Editor Properties: (see get_editor_property/set_editor_property)
nanite_enabled
(bool): [Read-Write] If checked, Nanite data will be generatedpercent_triangles
(float): [Read-Write] Percentage of triangles to keep from LOD0. 100.0 = no reduction, 0.0 = no trianglesposition_precision
(int32): [Read-Write] Step size is 2^(-PositionPrecision) cm. MIN_int32 is auto