unreal.DataprepSetupStaticLightingOperation

class unreal.DataprepSetupStaticLightingOperation(outer=None, name='None')

Bases: unreal.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.

property enable_lightmap_uv_generation

[Read-Write] Enable the lightmap UV generation.

Type

(bool)

property lightmap_resolution_ideal_ratio

[Read-Write] The ratio used to compute the resolution of the lightmap.

Type

(float)