FMaterialUtilities::ExportMaterialProperty

Renders specified material property into texture

Windows
MacOS
Linux

Deprecated

  • Please use ExportMaterialProperty function with new signature

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
(
    UWorld * InWorld,
    UMaterialInterface * InMaterial,
    EMaterialProperty InMaterialProperty,
    FIntPoint & OutSize,
    TArray< FColor > & OutBMP
)

Remarks

Renders specified material property into texture

Returns

Whether operation was successful

Parameters

Parameter

Description

InWorld

World object to use for material property rendering

InMaterial

Target material

InMaterialProperty

Material property to render

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