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,
FIntPoint InSize,
TArray< FColor > & OutBMP
)
Renders specified material property into texture
Whether operation was successful
Parameter |
Description |
---|---|
InMaterial |
Target material |
InMaterialProperty |
Material property to render |
InSize |
Input size for the rendered samples |
OutBMP |
Output array of rendered samples |