UMaterialInstanceDynamic::CopyMaterialUniformParameters

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

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

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss