unreal.DataprepSetupStaticLightingOperation¶
- class unreal.DataprepSetupStaticLightingOperation(outer=None, name='None')¶
Bases:
unreal.DataprepOperationFor 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 Lightmap UVGeneration: Enable the lightmap UV generation.lightmap_resolution_ideal_ratio(float): [Read-Write] Lightmap Resolution Ideal Ratio: The ratio used to compute the resolution of the lightmap.