unreal.DataprepSetupStaticLightingOperation
¶
- class unreal.DataprepSetupStaticLightingOperation(outer: Object | None = None, name: Name | str = 'None')¶
Bases:
DataprepOperation
For each static mesh to process, setup the settings to enable lightmap UVs generation and compute the lightmap resolution.
C++ Source:
Plugin: DatasmithImporter
Module: DatasmithImporter
File: DatasmithDataprepOperation.h
Editor Properties: (see get_editor_property/set_editor_property)
enable_lightmap_uv_generation
(bool): [Read-Write] Enable the lightmap UV generation.lightmap_resolution_ideal_ratio
(float): [Read-Write] The ratio used to compute the resolution of the lightmap.