FMaterialUtilities::AnalyzeMaterial

Analyzes given material to determine how many texture coordinates and whether or not vertex colors are used within the material Graph

Windows
MacOS
Linux

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 void AnalyzeMaterial
(
    class UMaterialInterface * InMaterial,
    const struct FMaterialProxySettings & InMaterialSettings,
    int32 & OutNumTexCoords,
    bool & OutRequiresVertexData
)

Remarks

Analyzes given material to determine how many texture coordinates and whether or not vertex colors are used within the material Graph

Parameters

Parameter

Description

InMaterial

Material to analyze

InMaterialSettings

Settings containing how to material should be merged

OutNumTexCoords

Number of texture coordinates used across all properties flagged for merging

OutRequiresVertexData

Flag whether or not Vertex Data is used in the material graph for the properties flagged for merging

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