UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FIESConverter Class Reference

#include <IESConverter.h>

Public Member Functions

IESFILE_API FIESConverter (const uint8 *Buffer, uint32 BufferLength)
 
IESFILE_API bool IsValid () const
 
IESFILE_API const TCHARGetError () const
 
float GetMultiplier () const
 
const TArray< uint8 > & GetRawData () const
 
IESFILE_API uint32 GetWidth () const
 
IESFILE_API uint32 GetHeight () const
 
IESFILE_API float GetBrightness () const
 

Detailed Description

To load the IES file image format. IES files exist for many real world lights. The file stores how much light is emitted in a specific direction. The data is usually measured but tools to paint IES files exist.

Constructor & Destructor Documentation

◆ FIESConverter()

FIESConverter::FIESConverter ( const uint8 Buffer,
uint32  BufferLength 
)

is loading the file, can take some time, success can be checked with IsValid()

Member Function Documentation

◆ GetBrightness()

float FIESConverter::GetBrightness ( ) const
Returns
brightness in Lumens

◆ GetError()

const TCHAR * FIESConverter::GetError ( ) const
Returns
a brief description of the reason why the IES data is invalid

◆ GetHeight()

uint32 FIESConverter::GetHeight ( ) const

◆ GetMultiplier()

float FIESConverter::GetMultiplier ( ) const
inline
Returns
Multiplier as the texture is normalized

◆ GetRawData()

const TArray< uint8 > & FIESConverter::GetRawData ( ) const
inline
Returns
data to create UTextureProfile

◆ GetWidth()

uint32 FIESConverter::GetWidth ( ) const

◆ IsValid()

bool FIESConverter::IsValid ( ) const
Returns
true if the photometric data are valid
Note
Call GetError to get a description of the error

The documentation for this class was generated from the following files: