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

Bases: unreal.BlueprintFunctionLibrary

Datasmith Static Mesh Blueprint Library

C++ Source:

  • Plugin: DatasmithImporter
  • Module: DatasmithImporter
  • File: DatasmithBlueprintLibrary.h
classmethod compute_lightmap_resolution(objects, apply_changes, ideal_ratio=0.200000) → None

Sets the proper lightmap resolution to get the desired lightmap density ratio

  • objects (Array(Object)) – List of static meshes and static mesh actors to update.
  • apply_changes (bool) – Indicates if changes must be apply or not.
  • ideal_ratio (float) – The desired lightmap density ratio