FMaterialEditorUtilities::InitExpressions

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

Choose your operating system:

Windows

macOS

Linux

References

Module

MaterialEditor

Header

/Engine/Source/Editor/MaterialEditor/Public/MaterialEditorUtilities.h

Include

#include "MaterialEditorUtilities.h"

Source

/Engine/Source/Editor/MaterialEditor/Private/MaterialEditorUtilities.cpp

Syntax

static void InitExpressions
(
    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

Parameter

Description

Material

Material we are initializing