UDatasmithStaticMeshBlueprintLibrary::ComputeLightmapResolution

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

Choose your operating system:

Windows

macOS

Linux

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

Syntax

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

Parameter

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