Navigation
API > API/Runtime > API/Runtime/Landscape > API/Runtime/Landscape/ULandscapeComponent > API/Runtime/Landscape/ULandscapeComponent/UpdateMaterialInstances
References
| Module | Landscape |
| Header | /Engine/Source/Runtime/Landscape/Classes/LandscapeComponent.h |
| Include | #include "LandscapeComponent.h" |
| Source | /Engine/Source/Runtime/Landscape/Private/LandscapeEdit.cpp |
void UpdateMaterialInstances
&40;
FMaterialUpdateContext & InOutMaterialContext,
TArray< class FComponentRecreateRenderStateContext > & InOutRecreateRenderStateContext
&41;
Remarks
Update the MaterialInstance parameters to match the layer and weightmaps for this component Creates the MaterialInstance if it doesn't exist.