Deprecated
Please use new functionality in MaterialBaking module
Module |
|
Header |
/Engine/Source/Developer/MaterialUtilities/Public/MaterialUtilities.h |
Include |
#include "MaterialUtilities.h" |
Source |
/Engine/Source/Developer/MaterialUtilities/Private/MaterialUtilities.cpp |
static bool ExportMaterialProperty
(
UMaterialInterface * InMaterial,
EMaterialProperty InMaterialProperty,
TArray< FColor > & OutBMP,
FIntPoint & OutSize
)
Renders specified material property into texture
Whether operation was successful
Parameter |
Description |
---|---|
InMaterial |
Target material |
InMaterialProperty |
Material property to render |
OutBMP |
Output array of rendered samples |
OutSize |
Output size of the rendered samples |