Navigation
API > API/Developer > API/Developer/DatasmithExporter > API/Developer/DatasmithExporter/FDatasmithMeshExporter
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TSharedPtr< IDatasmithMeshElement > ExportToUObject
(
const TCHAR* Filepath, |
Exports the DatasmithMesh as a UObject. | DatasmithMeshExporter.h | |
bool ExportToUObject
(
TSharedPtr< IDatasmithMeshElement >& MeshElement, |
Exports a FDatasmithMesh as a UObject and link it to the given IDatasmithMeshElementElement. | DatasmithMeshExporter.h |
ExportToUObject(const TCHAR , const TCHAR , FDatasmithMesh &, FDatasmithMesh *, EDSExportLightmapUV)
Description
Exports the DatasmithMesh as a UObject.
| Name | ExportToUObject |
| Type | function |
| Header File | /Engine/Source/Developer/Datasmith/DatasmithExporter/Public/DatasmithMeshExporter.h |
| Include Path | #include "DatasmithMeshExporter.h" |
| Source | /Engine/Source/Developer/Datasmith/DatasmithExporter/Private/DatasmithMeshExporter.cpp |
TSharedPtr < IDatasmithMeshElement > ExportToUObject
(
const TCHAR * Filepath,
const TCHAR * Filename,
FDatasmithMesh & Mesh,
FDatasmithMesh * CollisionMesh,
EDSExportLightmapUV LightmapUV
)
A IDatasmithMeshElement that refers to the exported file
Parameters
| Name | Remarks |
|---|---|
| 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 |
ExportToUObject(TSharedPtr< IDatasmithMeshElement > &, const TCHAR , FDatasmithMesh &, FDatasmithMesh , EDSExportLightmapUV)
Description
Exports a FDatasmithMesh as a UObject and link it to the given IDatasmithMeshElementElement.
| Name | ExportToUObject |
| Type | function |
| Header File | /Engine/Source/Developer/Datasmith/DatasmithExporter/Public/DatasmithMeshExporter.h |
| Include Path | #include "DatasmithMeshExporter.h" |
| Source | /Engine/Source/Developer/Datasmith/DatasmithExporter/Private/DatasmithMeshExporter.cpp |
bool ExportToUObject
(
TSharedPtr < IDatasmithMeshElement > & MeshElement,
const TCHAR * Filepath,
FDatasmithMesh & Mesh,
FDatasmithMesh * CollisionMesh,
EDSExportLightmapUV LightmapUV
)
True if export was successful.
Parameters
| Name | Remarks |
|---|---|
| MeshElement | The existing MeshElement for which we want to export a FDatasmithMesh, the name of the MeshElement will determine the name of the exported file. |
| Filepath | The path where the resulting file will be written |
| Mesh | The mesh to export |
| CollisionMesh | An optional collision mesh |
| LightmapUV | The UV generation export option |