IPFMExporterBlueprintAPI::ExportPFM

Generate PFM file from static mesh.

Windows
MacOS
Linux

References

Module

PFMExporter

Header

/Engine/Plugins/Runtime/WarpUtils/Source/PFMExporter/Public/Blueprints/IPFMExporterBlueprintAPI.h

Include

#include "Blueprints/IPFMExporterBlueprintAPI.h"

Syntax

[UFUNCTION](Programming/UnrealArchitecture/Reference/Functions)(BlueprintCallable, Meta=(DisplayName="Export Static Mesh to PFM file"),
          Category="PFMExporter")
bool ExportPFM
(
    UStaticMeshComponent * SrcMesh,
    USceneComponent * Origin,
    int Width,
    int Height,
    const FString & FileName
)

Remarks

Generate PFM file from static mesh. The UV channel must be defined, assigned range 0..1 used as screen surface. Origin assigned by function arg, or by default used mesh parent.

Returns

true, if success

Parameters

Parameter

Description

SrcMesh

Static mesh with assigned UV channel, used as export source of PFM file

Origin

(Optional) Custom cave origin node, if not defined, used SrcMesh parent

Width

Output PFM mesh texture width

Height

Output PFM mesh texture height

FileName

Output PFM file name

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss