Navigation
Unreal Engine C++ API Reference > Runtime > Engine > Materials > UMaterialInstance
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Classes/Materials/MaterialInstance.h |
Include | #include "Materials/MaterialInstance.h" |
Source | /Engine/Source/Runtime/Engine/Private/Materials/MaterialInstance.cpp |
void CopyMaterialUniformParametersInternal
&40;
UMaterialInterface &42; Source
&41;
Remarks
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