UKismetMaterialLibrary::GetScalarParameterValue

Gets a scalar parameter value from 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 float GetScalarParameterValue
(
    UObject * WorldContextObject,
    UMaterialParameterCollection * Collection,
    FName ParameterName
)

Remarks

Gets a scalar parameter value from the material collection instance. Logs if ParameterName is invalid.