8#include "CoreMinimal.h"
9#include "Kismet/BlueprintFunctionLibrary.h"
10#include "Materials/MaterialParameterCollectionInstance.h"
12#include "MaterialParameterCollectionUtilities.generated.h"
31 UFUNCTION(BlueprintCallable, Category =
"Material Utilities")
32 static bool UpdateMaterialCollectionVectorValue(UMaterialParameterCollectionInstance* MPCInstance,
const FName ParameterName,
const FVector4 Value);
41 UFUNCTION(BlueprintCallable, Category =
"Material Utilities")
42 static bool UpdateMaterialCollectionScalarValue(UMaterialParameterCollectionInstance* MPCInstance,
const FName ParameterName,
const float Value);
50 UFUNCTION(BlueprintCallable, Category =
"Material Utilities")
51 static UMaterialParameterCollectionInstance* LoadMaterialParameterCollectionInstance(
const UObject* WorldContextObject,
const FString& Path);