unreal.DataprepSetNaniteSettingsOperation

class unreal.DataprepSetNaniteSettingsOperation(outer: Optional[Object] = None, name: Union[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] Nanite Enabled: If checked, Nanite data will be generated

  • percent_triangles (float): [Read-Write] Percent Triangles: Percentage of triangles to keep from LOD0. 100.0 = no reduction, 0.0 = no triangles

  • position_precision (int32): [Read-Write] Position Precision: Step size is 2^(-PositionPrecision) cm. MIN_int32 is auto

property nanite_enabled: bool

[Read-Write] Nanite Enabled: If checked, Nanite data will be generated

Type:

(bool)

property percent_triangles: float

[Read-Write] Percent Triangles: Percentage of triangles to keep from LOD0. 100.0 = no reduction, 0.0 = no triangles

Type:

(float)

property position_precision: int

[Read-Write] Position Precision: Step size is 2^(-PositionPrecision) cm. MIN_int32 is auto

Type:

(int32)