UMaterialExpression::ConnectToPreviewMaterial

Connects the specified output to the passed material for previewing.

Windows
MacOS
Linux

References

Module

Engine

Header

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

Include

#include "Materials/MaterialExpression.h"

Source

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

Syntax

void ConnectToPreviewMaterial
(
    UMaterial * InMaterial,
    int32 OutputIndex
)

Remarks

Connects the specified output to the passed material for previewing.

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