UMaterialInstanceConstant::SetVectorParameterValueEditorOnly

Set the value parameters.

Windows
MacOS
Linux

References

Module

Engine

Header

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

Include

#include "Materials/MaterialInstanceConstant.h"

Source

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

Syntax

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

Parameter

Description

ParameterName

The parameter's name.

Value

The value to set.

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