Navigation
API > API/Plugins > API/Plugins/DatasmithImporter > API/Plugins/DatasmithImporter/UDatasmithStaticMeshBlueprintLib-
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static void ComputeLightmapResolution
(
const TArray< UObject* >& Objects, |
Sets the proper lightmap resolution to get the desired lightmap density ratio | DatasmithBlueprintLibrary.h |
|
static void ComputeLightmapResolution
(
const TMap< UStaticMesh*, TSet< UStaticMeshComponent* > >& StaticMeshMap, |
DatasmithBlueprintLibrary.h | ||
static int32 ComputeLightmapResolution
(
UStaticMesh* StaticMesh, |
DatasmithBlueprintLibrary.h |
ComputeLightmapResolution(const TArray< UObject * > &, bool, float)
Description
Sets the proper lightmap resolution to get the desired lightmap density ratio
| Name | ComputeLightmapResolution |
| Type | function |
| Header File | /Engine/Plugins/Enterprise/DatasmithImporter/Source/DatasmithImporter/Public/DatasmithBlueprintLibrary.h |
| Include Path | #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
)
Parameters
| Name | Remarks |
|---|---|
| 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 |
ComputeLightmapResolution(const TMap< UStaticMesh , TSet< UStaticMeshComponent > > &, bool, float)
| Name | ComputeLightmapResolution |
| Type | function |
| Header File | /Engine/Plugins/Enterprise/DatasmithImporter/Source/DatasmithImporter/Public/DatasmithBlueprintLibrary.h |
| Include Path | #include "DatasmithBlueprintLibrary.h" |
| Source | /Engine/Plugins/Enterprise/DatasmithImporter/Source/DatasmithImporter/Private/DatasmithBlueprintLibrary.cpp |
static void ComputeLightmapResolution
(
const TMap < UStaticMesh *, TSet< UStaticMeshComponent * > > & StaticMeshMap,
bool bApplyChanges,
float IdealRatio
)
ComputeLightmapResolution(UStaticMesh *, float, const FVector &)
| Name | ComputeLightmapResolution |
| Type | function |
| Header File | /Engine/Plugins/Enterprise/DatasmithImporter/Source/DatasmithImporter/Public/DatasmithBlueprintLibrary.h |
| Include Path | #include "DatasmithBlueprintLibrary.h" |
| Source | /Engine/Plugins/Enterprise/DatasmithImporter/Source/DatasmithImporter/Private/DatasmithBlueprintLibrary.cpp |
static int32 ComputeLightmapResolution
(
UStaticMesh * StaticMesh,
float IdealRatio,
const FVector & StaticMeshScale
)