Navigation
Unreal Engine C++ API Reference > Developer > DatasmithExporter > FDatasmithMeshExporter > ExportToUObject
References
Module | DatasmithExporter |
Header | /Engine/Source/Developer/Datasmith/DatasmithExporter/Public/DatasmithMeshExporter.h |
Include | #include "DatasmithMeshExporter.h" |
Source | /Engine/Source/Developer/Datasmith/DatasmithExporter/Private/DatasmithMeshExporter.cpp |
TSharedPtr< IDatasmithMeshElement > ExportToUObject
&40;
const TCHAR &42; Filepath,
const TCHAR &42; Filename,
FDatasmithMesh & Mesh,
FDatasmithMesh &42; CollisionMesh,
EDSExportLightmapUV LightmapUV
&41;
Remarks
Exports the DatasmithMesh as a UObject. A IDatasmithMeshElement that refers to the exported file
Parameters
Name | Description |
---|---|
Filepath | The path where the resulting file will be written |
Filename | The name of the file to export to, without any path or extension |
Mesh | The mesh to export |
CollisionMesh | An optional collision mesh |
LightmapUV | The UV generation export option |