Navigation
API > API/Plugins > API/Plugins/DatasmithImporter > API/Plugins/DatasmithImporter/UDatasmithStaticMeshBlueprintLib- > API/Plugins/DatasmithImporter/UDatasmithStaticMeshBlueprintLib-/ComputeLightmapR-
References
| Module | DatasmithImporter |
| Header | /Engine/Plugins/Enterprise/DatasmithImporter/Source/DatasmithImporter/Public/DatasmithBlueprintLibrary.h |
| Include | #include "DatasmithBlueprintLibrary.h" |
| Source | /Engine/Plugins/Enterprise/DatasmithImporter/Source/DatasmithImporter/Private/DatasmithBlueprintLibrary.cpp |
UFUNCTION&40;BlueprintCallable, Category&61;"Datasmith &124; Static Mesh"&41;
static void ComputeLightmapResolution
&40;
const TArray< UObject &42; > & Objects,
bool bApplyChanges,
float IdealRatio
&41;
Remarks
Sets the proper lightmap resolution to get the desired lightmap density ratio
Parameters
| Name | Description |
|---|---|
| Objects | List of static meshes and static mesh actors to update. |
| bApplyChanges | Indicates if changes must be apply or not. |
| IdealRatio | The desired lightmap density ratio |