Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/UMaterialInstanceConstant
Description
Set the value parameters. These functions may be called only in the Editor! WARNING: You MUST call PostEditChange afterwards to propagate changes to other materials in the chain!
| Name | SetVectorParameterValueEditorOnly |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Public/Materials/MaterialInstanceConstant.h |
| Include Path | #include "Materials/MaterialInstanceConstant.h" |
| Source | /Engine/Source/Runtime/Engine/Private/Materials/MaterialInstanceConstant.cpp |
void SetVectorParameterValueEditorOnly
(
const FMaterialParameterInfo & ParameterInfo,
FLinearColor Value
)
Parameters
| Name | Remarks |
|---|---|
| ParameterName | The parameter's name. |
| Value | The value to set. |