Navigation
API > API/Developer > API/Developer/MaterialUtilities > API/Developer/MaterialUtilities/FMaterialUtilities > API/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
&40;
class UMaterialInterface &42; InMaterial,
const struct FMaterialProxySettings & InMaterialSettings,
int32 & OutNumTexCoords,
bool & OutRequiresVertexData
&41;
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 |