FDatasmithSceneUtils::CleanUpScene

Fixes all missing references, remove all unused meshes, materials, textures, etc

Windows
MacOS
Linux

References

Module

DatasmithCore

Header

/Engine/Source/Runtime/Datasmith/DatasmithCore/Public/DatasmithUtils.h

Include

#include "DatasmithUtils.h"

Source

/Engine/Source/Runtime/Datasmith/DatasmithCore/Private/DatasmithUtils.cpp

Syntax

static void CleanUpScene
(
    TSharedRef< class IDatasmithScene > Scene,
    bool bRemoveUnused
)

Remarks

Fixes all missing references, remove all unused meshes, materials, textures, etc

Parameters

Parameter

Description

Scene

Scene to perform the cleanup on

bRemoveUnused

Indicates if the cleanup includes the removal of unused assets

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