UMaterialGraphSchema::GetPinTypeColor

Gets the draw color of a pin based on it's type.

Choose your operating system:

Windows

macOS

Linux

Override Hierarchy

UEdGraphSchema::GetPinTypeColor()

UMaterialGraphSchema::GetPinTypeColor()

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

virtual FLinearColor GetPinTypeColor
(
    const FEdGraphPinType & PinType
) const

Remarks

Gets the draw color of a pin based on it's type.

Returns

The color representing the passed in type.

Parameters

Parameter

Description

PinType

The type to convert into a color.