FMaterialEditorUtilities::InitExpressions

Populates the specified material's Expressions array (eg if cooked out or old content).

Unreal Engine C++ API Reference > Editor > MaterialEditor > FMaterialEditorUtilities

References

   
Module MaterialEditor
Header /Engine/Source/Editor/MaterialEditor/Public/MaterialEditorUtilities.h
Include #include "MaterialEditorUtilities.h"
Source /Engine/Source/Editor/MaterialEditor/Private/MaterialEditorUtilities.cpp
static void InitExpressions
(
    [UMaterial](API\Runtime\Engine\Materials\UMaterial) * Material
)

Remarks

Populates the specified material's Expressions array (eg if cooked out or old content). Also ensures materials and expressions are RF_Transactional for undo/redo support.

Parameters

Name Description
Material Material we are initializing

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library