Module |
|
Header |
/Engine/Plugins/Runtime/WarpUtils/Source/PFMExporter/Public/IPFMExporter.h |
Include |
#include "IPFMExporter.h" |
bool ExportPFM
(
const FStaticMeshLODResources * SrcMeshResource,
const FMatrix & MeshToOrigin,
int PFMWidth,
int PFMHeight,
const FString & LocalFileName
)
Generate PFM file from static mesh. The UV channel must be defined, assigned range 0..1 used as screen surface.
true, if export success
Parameter |
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) |