FDatasmithImporterUtils::AddUniqueLayersToWorld

Add a layer to the world if there is no other layer with the same name

Windows
MacOS
Linux

References

Module

DatasmithImporter

Header

/Engine/Plugins/Enterprise/DatasmithImporter/Source/DatasmithImporter/Public/Utility/DatasmithImporterUtils.h

Include

#include "Utility/DatasmithImporterUtils.h"

Source

/Engine/Plugins/Enterprise/DatasmithImporter/Source/DatasmithImporter/Private/Utility/DatasmithImporterUtils.cpp

Syntax

static void AddUniqueLayersToWorld
(
    UWorld * World,
    const TSet< FName > & LayerNames
)

Remarks

Add a layer to the world if there is no other layer with the same name

Parameters

Parameter

Description

World

The world to which the layers will be added

LayerNames

The name of the layers to be added

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