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 (BlueprintCallable, Category="Datasmith | Static Mesh")
static void ComputeLightmapResolution
(
const TArray < UObject * > & Objects,
bool bApplyChanges,
float IdealRatio
)
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 |