/Engine/Source/Runtime/Engine/Classes/Materials/MaterialInstanceDynamic.h
Copies the uniform parameters (scalar, vector and texture) from a material or instance hierarchy. This will typically be faster than parsing all expressions but still slow as it must walk the full material hierarchy as each parameter may be overridden at any level in the chain. Note: This will not copy static or font parameters
void CopyMaterialUniformParameters ( [UMaterialInterface](API\Runtime\Engine\Materials\UMaterialInterface) * Source )