UKismetMaterialLibrary::SetVectorParameterValue

Sets a vector parameter value on the material collection instance.

Choose your operating system:

Windows

macOS

Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Kismet/KismetMaterialLibrary.h

Include

#include "Kismet/KismetMaterialLibrary.h"

Source

/Engine/Source/Runtime/Engine/Private/KismetMaterialLibrary.cpp

Syntax

static void SetVectorParameterValue
(
    UObject * WorldContextObject,
    UMaterialParameterCollection * Collection,
    FName ParameterName,
    const FLinearColor & ParameterValue
)

Remarks

Sets a vector parameter value on the material collection instance. Logs if ParameterName is invalid.