FDatasmithStaticMeshImporter::CalculateMeshesLightmapWeights

Calculates a lightmap density ratio for each [IDatasmithMeshElement](API\Runtime\DatasmithCore\IDatasmithMeshElement) in the [IDatasmithScene](API\Runtime\DatasmithCore\IDatasmithScene).

Windows
MacOS
Linux

References

Module

DatasmithImporter

Header

/Engine/Plugins/Enterprise/DatasmithImporter/Source/DatasmithImporter/Public/DatasmithStaticMeshImporter.h

Include

#include "DatasmithStaticMeshImporter.h"

Source

/Engine/Plugins/Enterprise/DatasmithImporter/Source/DatasmithImporter/Private/DatasmithStaticMeshImporter.cpp

Syntax

static TMap< TSharedRef< IDatasmithMeshElement >, float > CalculateMeshesLightmapWeights
(
    const TSharedRef< IDatasmithScene > & SceneElement
)

Remarks

Calculates a lightmap density ratio for each IDatasmithMeshElement in the IDatasmithScene.

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