UMaterialParameterCollectionInstance::SetScalarParameterValue

Sets parameter value overrides, returns false if the parameter was not found.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Materials/MaterialParameterCollectionInstance.h

Include

#include "Materials/MaterialParameterCollectionInstance.h"

Source

/Engine/Source/Runtime/Engine/Private/Materials/ParameterCollection.cpp

Syntax

bool SetScalarParameterValue
(
    FName ParameterName,
    float ParameterValue
)

Remarks

Sets parameter value overrides, returns false if the parameter was not found.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss