UDatasmithStaticMeshBlueprintLibrary

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

UObjectBase

UObjectBaseUtility

UObject

UBlueprintFunctionLibrary

UDatasmithStaticMeshBlueprintLibrary

References

Module

DatasmithImporter

Header

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

Include

#include "DatasmithBlueprintLibrary.h"

Syntax

UCLASS(MinimalAPI, Meta=(ScriptName="DatasmithStaticMeshLibrary"))
class UDatasmithStaticMeshBlueprintLibrary : public UBlueprintFunctionLibrary

Functions

Name Description

Public function Static UFunction BlueprintCallable, Category

void

 

ComputeLightmapResolution

(
    const TArray< UObject* >& Obj...,
    bool bApplyChanges,
    float IdealRatio
)

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

Public function Static UFunction BlueprintCallable, Category

void

 

SetupStaticLighting

(
    const TArray< UObject* >& Obj...,
    bool bApplyChanges,
    bool bGenerateLightmapUVs,
    float LightmapResolutionIdealRatio
)

Setup the Lightmap UVs settings to enable or disable the lightmap generation on the static meshes found in the Assets list