FDatasmithSceneExporter::Export

Exports the entire scene.

Unreal Engine C++ API Reference > Developer > DatasmithExporter > FDatasmithSceneExporter

References

   
Module DatasmithExporter
Header /Engine/Source/Developer/Datasmith/DatasmithExporter/Public/DatasmithSceneExporter.h
Include #include "DatasmithSceneExporter.h"
Source /Engine/Source/Developer/Datasmith/DatasmithExporter/Private/DatasmithSceneExporter.cpp
void Export
(
    [TSharedRef](API\Runtime\Core\Templates\TSharedRef)< [IDatasmithScene](API\Runtime\DatasmithCore\IDatasmithScene) > DatasmithScene,
    bool bCleanupUnusedElements
)

Remarks

Exports the entire scene. It will create the scene file as well as the resized textures (in case of resize is enabled).

Parameters

Name Description
bCleanupUnusedElements Remove unused meshes, textures and materials before exporting

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library