UMaterialInstanceDynamic::CopyMaterialUniformParameters

Copies the uniform parameters (scalar, vector and texture) from a material or instance hierarchy.

Choose your operating system:

Windows

macOS

Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Materials/MaterialInstanceDynamic.h

Include

#include "Materials/MaterialInstanceDynamic.h"

Source

/Engine/Source/Runtime/Engine/Private/Materials/MaterialInstanceDynamic.cpp

Syntax

void CopyMaterialUniformParameters
(
    UMaterialInterface * Source
)

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.

This will not copy static or font parameters