UMaterialGraphSchema::OnConnectToMaterial

Connect a pin to one of the Material's inputs

Choose your operating system:

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