FDatasmithMeshExporter Class Reference

Public Member Functions

TSharedPtr< IDatasmithMeshElement > ExportToUObject (const TCHAR *Filepath, const TCHAR *Filename, FDatasmithMesh &Mesh, FDatasmithMesh *CollisionMesh, EDSExportLightmapUV LightmapUV)
 Exports the DatasmithMesh as a UObject. More...
 
FString GetLastError () const
 

Detailed Description

Member Function Documentation

◆ ExportToUObject()

TSharedPtr< IDatasmithMeshElement > FDatasmithMeshExporter::ExportToUObject ( const TCHAR *  Filepath,
const TCHAR *  Filename,
FDatasmithMesh &  Mesh,
FDatasmithMesh *  CollisionMesh,
EDSExportLightmapUV  LightmapUV 
)

Exports the DatasmithMesh as a UObject.

Parameters
FilepathThe path where the resulting file will be written
FilenameThe name of the file to export to, without any path or extension
MeshThe mesh to export
CollisionMeshAn optional collision mesh
LightmapUVThe UV generation export option
Returns
A IDatasmithMeshElement that refers to the exported file
Examples
DatasmithExportBasicSample.cpp.

◆ GetLastError()

FString FDatasmithMeshExporter::GetLastError ( ) const
inline
Returns
The error that happened during the last export, if any

The documentation for this class was generated from the following file: