unreal.DatasmithComputeLightmapResolutionOperation

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

Bases: unreal.DataprepOperation

For each static mesh to process, recompute the lilghtmap resolution based on the specified ratio

C++ Source:

  • Plugin: DatasmithImporter
  • Module: DatasmithImporter
  • File: DatasmithDataprepOperation.h

Editor Properties: (see get_editor_property/set_editor_property)

  • ideal_ratio (float): [Read-Write] Ideal Ratio
ideal_ratio

(float) – [Read-Write] Ideal Ratio