UDatasmithStaticMeshBlueprintLibrary::ComputeLightmapResolution

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

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](Programming/UnrealArchitecture/Reference/Functions)(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

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss