Navigation
API > API/Plugins > API/Plugins/PFMExporter > API/Plugins/PFMExporter/IPFMExporter
References
| Module | PFMExporter |
| Header | /Engine/Plugins/Runtime/WarpUtils/Source/PFMExporter/Public/IPFMExporter.h |
| Include | #include "IPFMExporter.h" |
bool ExportPFM
&40;
const FStaticMeshLODResources &42; SrcMeshResource,
const FMatrix & MeshToOrigin,
int PFMWidth,
int PFMHeight,
const FString & LocalFileName
&41;
Remarks
Generate PFM file from static mesh. The UV channel must be defined, assigned range 0..1 used as screen surface.
- true, if export success
Parameters
| Name | Description |
|---|---|
| SrcMeshResource | Source mesh with defined UV, used as PFM 3d source |
| MeshToOrigin | Transform matrix convert mesh vertices to cave origin space |
| PFMWidth | Output PFM mesh texture width |
| PFMHeight | Output PFM mesh texture height |
| LocalFileName | Output PFM file name (supported relative paths) |