UMaterialInstanceDynamic::SetVectorParameterByIndex

Use the cached value of OutParameterIndex above to set the vector parameter ONLY on the exact same MID.

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

bool SetVectorParameterByIndex
(
    int32 ParameterIndex,
    const FLinearColor & Value
)

Remarks

Use the cached value of OutParameterIndex above to set the vector parameter ONLY on the exact same MID.