Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Materials > API/Runtime/Engine/Materials/UMaterialInstanceConstant
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Public/Materials/MaterialInstanceConstant.h |
Include | #include "Materials/MaterialInstanceConstant.h" |
Source | /Engine/Source/Runtime/Engine/Private/Materials/MaterialInstanceConstant.cpp |
void SetVectorParameterValueEditorOnly
(
const FMaterialParameterInfo & ParameterInfo,
FLinearColor Value
)
Remarks
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!
Parameters
Name | Description |
---|---|
ParameterName | The parameter's name. |
Value | The value to set. |