Deprecated
Please use ExportMaterialProperty function with new signature
Module |
|
Header |
/Engine/Source/Developer/MaterialUtilities/Public/MaterialUtilities.h |
Include |
#include "MaterialUtilities.h" |
Source |
/Engine/Source/Developer/MaterialUtilities/Private/MaterialUtilities.cpp |
static bool ExportMaterialProperty
(
UWorld * InWorld,
UMaterialInterface * InMaterial,
EMaterialProperty InMaterialProperty,
UTextureRenderTarget2D * InRenderTarget,
TArray< FColor > & OutBMP
)
Renders specified material property into texture
Whether operation was successful
Parameter |
Description |
---|---|
InWorld |
World object to use for material property rendering |
InMaterial |
Target material |
InMaterialProperty |
Material property to render |
InRenderTarget |
Render target to render to |
OutBMP |
Output array of rendered samples |