Class ImportIES
Utility for loading IES files and extract light emission information.
Inheritance
ImportIES
Assembly: FlaxEngine.dll
File: Engine/ContentImporters/ImportIES.h
Syntax
public class ImportIES
Methods
ExtractInR16(Array<byte>& output)
Extracts IES profile data to R16 format (float).
Declaration
public float ExtractInR16(Array<byte>& output)
Parameters
Array<byte>
output
The result data container. |
Returns
float
The multiplier as the texture is normalized. |
GetBrightness()
Declaration
public float GetBrightness() const
Returns
float
|
GetHeight()
Declaration
public uint32 GetHeight() const
Returns
uint32
|
GetWidth()
Declaration
public uint32 GetWidth() const
Returns
uint32
|
Load(const byte* buffer)
Loads the IES file.
Declaration
public bool Load(const byte* buffer)
Parameters
byte
buffer
The buffer with data. |
Returns
bool
True if cannot load, otherwise false. |