Module |
|
Header |
/Engine/Source/Developer/MaterialUtilities/Public/MaterialUtilities.h |
Include |
#include "MaterialUtilities.h" |
Source |
/Engine/Source/Developer/MaterialUtilities/Private/MaterialUtilities.cpp |
static void AnalyzeMaterial
(
class UMaterialInterface * InMaterial,
const struct FMaterialProxySettings & InMaterialSettings,
int32 & OutNumTexCoords,
bool & OutRequiresVertexData
)
Analyzes given material to determine how many texture coordinates and whether or not vertex colors are used within the material Graph
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 |