UMaterialGraphSchema::OnConnectToMaterial

Connect a pin to one of the Material's inputs

Windows
MacOS
Linux

References

Module

UnrealEd

Header

/Engine/Source/Editor/UnrealEd/Classes/MaterialGraph/MaterialGraphSchema.h

Include

#include "MaterialGraph/MaterialGraphSchema.h"

Source

/Engine/Source/Editor/UnrealEd/Private/MaterialGraphSchema.cpp

Syntax

void OnConnectToMaterial
(
    UEdGraphPin * InGraphPin,
    int32 ConnIndex
)

Remarks

Connect a pin to one of the Material's inputs

Parameters

Parameter

Description

InGraphPin

Pin we are connecting

ConnIndex

Index of the Material input to connect to

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