FMaterialUtilities::ExportMaterialProperty

Renders specified material property into texture

Windows
MacOS
Linux

Deprecated

  • Please use new functionality in MaterialBaking module

References

Module

MaterialUtilities

Header

/Engine/Source/Developer/MaterialUtilities/Public/MaterialUtilities.h

Include

#include "MaterialUtilities.h"

Source

/Engine/Source/Developer/MaterialUtilities/Private/MaterialUtilities.cpp

Syntax

static bool ExportMaterialProperty
(
    UMaterialInterface * InMaterial,
    EMaterialProperty InMaterialProperty,
    FIntPoint InSize,
    TArray< FColor > & OutBMP
)

Remarks

Renders specified material property into texture

Returns

Whether operation was successful

Parameters

Parameter

Description

InMaterial

Target material

InMaterialProperty

Material property to render

InSize

Input size for the rendered samples

OutBMP

Output array of rendered samples

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss