/Engine/Source/Runtime/Engine/Classes/Materials/MaterialInterface.h
Return number of used texture coordinates and whether or not the Vertex data is used in the shader graph
void AnalyzeMaterialProperty ( EMaterialProperty InProperty, int32 & OutNumTextureCoordinates, bool & bOutRequiresVertexData )