Navigation
Unreal Engine C++ API Reference > Developer > MaterialUtilities > FMaterialUtilities > AnalyzeMaterial
References
Module | MaterialUtilities |
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](API\Runtime\Engine\Materials\UMaterialInterface) * InMaterial, const struct [FMaterialProxySettings](API\Runtime\Engine\Engine\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
Name | 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 |