Navigation
API > API/Plugins > API/Plugins/DatasmithImporter > API/Plugins/DatasmithImporter/UDatasmithStaticMeshBlueprintLib-
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 SetupStaticLighting
&40;
const TArray< UObject &42; > & Objects,
bool bApplyChanges,
bool bGenerateLightmapUVs,
float LightmapResolutionIdealRatio
&41;
Remarks
Setup the Lightmap UVs settings to enable or disable the lightmap generation on the static meshes found in the Assets list
Parameters
| Name | Description |
|---|---|
| Assets | List of objects to set the generate lightmap uvs flag on. Only Static Meshes and Static Mesh Components will be affected. |
| bApplyChanges | Indicates if changes must be apply or not. |
| bGenerateLightmapUVs | The value to set for the generate lightmap uvs flag. |
| LightmapResolutionIdealRatio | The desired lightmap density ratio |