UMaterialInstanceDynamic::InitializeVectorParameterAndGetIndex

Use this function to set an initial value and fetch the index for use in the following function.

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 InitializeVectorParameterAndGetIndex
(
    const FName & ParameterName,
    const FLinearColor & Value,
    int32 & OutParameterIndex
)

Remarks

Use this function to set an initial value and fetch the index for use in the following function.