Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Source/Runtime/Engine/Classes/Materials/MaterialInstanceDynamic.h |
Include |
#include "Materials/MaterialInstanceDynamic.h" |
Source |
/Engine/Source/Runtime/Engine/Private/Materials/MaterialInstanceDynamic.cpp |
bool InitializeVectorParameterAndGetIndex
(
const FName & ParameterName,
const FLinearColor & Value,
int32 & OutParameterIndex
)
Use this function to set an initial value and fetch the index for use in the following function.