unreal.DataprepSetNaniteSettingsOperation
¶
- class unreal.DataprepSetNaniteSettingsOperation(outer=None, name='None')¶
Bases:
unreal.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 generatedpercent_triangles
(float): [Read-Write] Percent Triangles: Percentage of triangles to keep from LOD0. 100.0 = no reduction, 0.0 = no trianglesposition_precision
(int32): [Read-Write] Position Precision: Step size is 2^(-PositionPrecision) cm. MIN_int32 is auto
- property nanite_enabled¶
[Read-Write] Nanite Enabled: If checked, Nanite data will be generated
- Type
(bool)
- property percent_triangles¶
[Read-Write] Percent Triangles: Percentage of triangles to keep from LOD0. 100.0 = no reduction, 0.0 = no triangles
- Type
(float)
- property position_precision¶
[Read-Write] Position Precision: Step size is 2^(-PositionPrecision) cm. MIN_int32 is auto
- Type
(int32)