unreal.PFMExporterBlueprintAPI

class unreal.PFMExporterBlueprintAPI(outer=None, name='None')

Bases: unreal.Interface

PFMExporter Blueprint API

C++ Source:

  • Plugin: WarpUtils

  • Module: PFMExporter

  • File: IPFMExporterBlueprintAPI.h

export_pfm(src_mesh, origin, width, height, file_name)bool

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.

Parameters
  • src_mesh (StaticMeshComponent) – Static mesh with assigned UV channel, used as export source of PFM file

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

  • width (int32) – Output PFM mesh texture width

  • height (int32) – Output PFM mesh texture height

  • file_name (str) – Output PFM file name

Returns

true, if success

Return type

bool